summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-xtestsuite/parseko/fifteen.stp6
-rwxr-xr-xtestsuite/parseko/fourteen.stp2
2 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/parseko/fifteen.stp b/testsuite/parseko/fifteen.stp
new file mode 100755
index 00000000..35208740
--- /dev/null
+++ b/testsuite/parseko/fifteen.stp
@@ -0,0 +1,6 @@
+#! stap -p1
+
+probe begin
+{
+ foreach ([x+,y-] in a) {}
+}
diff --git a/testsuite/parseko/fourteen.stp b/testsuite/parseko/fourteen.stp
index b646f8b6..32a8979a 100755
--- a/testsuite/parseko/fourteen.stp
+++ b/testsuite/parseko/fourteen.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -p1
function zoo () %{ /* invalid embedded code */ %}