1 #!/usr/local/bin/rune -x
7 # The interpreter should be able to optimize out the call to fubar().
9 # Test it by replacing fubar(loops) with 100000000 and seeing if
10 # it takes the same amount of time.
19 # The interpreter should be able to optimize out constant values from
22 # Test it by replacing fubar(loops) with loops or (loops) and seeing
23 # if it takes the same amount of time.
25 const long loops = 100000000;
28 main(int ac, char **av)
32 for (i = 0; i < fubar(loops); ++i)
34 # for (i = 0; i < 100000000L; ++i)