summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/ifstmt02.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/ifstmt02.stp')
-rwxr-xr-xtestsuite/parseko/ifstmt02.stp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/parseko/ifstmt02.stp b/testsuite/parseko/ifstmt02.stp
new file mode 100755
index 00000000..da6d75df
--- /dev/null
+++ b/testsuite/parseko/ifstmt02.stp
@@ -0,0 +1,9 @@
+#! stap -p1
+
+# missing closing paren in if statment
+
+function decl()
+{
+ if (a == b
+ printf("in decl\n")
+}