diff options
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-x | testsuite/parseko/eight.stp | 4 | ||||
-rwxr-xr-x | testsuite/parseko/seven.stp | 6 | ||||
-rwxr-xr-x | testsuite/parseko/three.stp | 5 |
3 files changed, 8 insertions, 7 deletions
diff --git a/testsuite/parseko/eight.stp b/testsuite/parseko/eight.stp new file mode 100755 index 00000000..4d343159 --- /dev/null +++ b/testsuite/parseko/eight.stp @@ -0,0 +1,4 @@ +#! stap -p1 +probe foo { + foreach ([a, b, c] in) ; +} diff --git a/testsuite/parseko/seven.stp b/testsuite/parseko/seven.stp index 06f8a3ba..0b72f9f8 100755 --- a/testsuite/parseko/seven.stp +++ b/testsuite/parseko/seven.stp @@ -1,8 +1,8 @@ #! stap -p1 probe foo { - (a,) in b; - (,c) in d; - () in e; + [a,] in b; + [,c] in d; + [] in e; a in e[2]; } diff --git a/testsuite/parseko/three.stp b/testsuite/parseko/three.stp index be810e9d..b40c7708 100755 --- a/testsuite/parseko/three.stp +++ b/testsuite/parseko/three.stp @@ -1,7 +1,4 @@ #! stap -p1 - probe foo { - a(1) -# need ; - b(2) + foreach (a) ; } |