Debian Codegraph @

testsuite/parseko/autocast02.stp

raw
1 #!/bin/bash
2 //bin/true && exec stap -p1 --compatible=2.5 $0 "$@"
3
4 probe begin {
5 // See parseok/autocast02.stp where this succeeds as an autocast.
6 // Prior to autocast, this would implicitly be parsed as separate statements,
7 // like "(foo); [1] in bar", which fails in this case because only a single
8 // expression can be inside parentheses.
9 ( (foo)[1] in bar )
10 }
11