Debian Codegraph @

testsuite/buildok/thirtyfour.stp

raw
1 #! stap -gp4
2
3 probe begin {
4 println("hello")
5
6 %{ /* not pure */ 0 %} /* but should still compile */
7 %{ /* string */ "hello" %} /* likewise */
8
9 println(0 * %{ /* pure */ SYNTAX-ERROR-ME %})
10 /* count on constant-propagation */
11
12 log(%{ /* string */ "yellow" %})
13 println("world")
14 }
15