summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/forstmt04.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/forstmt04.stp')
-rwxr-xr-xtestsuite/parseko/forstmt04.stp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/parseko/forstmt04.stp b/testsuite/parseko/forstmt04.stp
new file mode 100755
index 00000000..f1786633
--- /dev/null
+++ b/testsuite/parseko/forstmt04.stp
@@ -0,0 +1,9 @@
+#! stap -p1
+
+# 'for' missing closing ')'
+
+function decl()
+{
+ for (i = 0; i < 5; i++
+ j = i
+}