summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/twentyfour.stp
blob: a889fe56a05caf32b81e7401ccb6043b6c08b71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! stap -gp4

# If the optimizer is working, this function will get elided,
# and thus will compile successfully.

function pure() %{  /* pure */
#error "should have been elided"
%}


probe begin
{
	pure ()
}