summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/functiondecl07.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/functiondecl07.stp')
-rwxr-xr-xtestsuite/parseko/functiondecl07.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/parseko/functiondecl07.stp b/testsuite/parseko/functiondecl07.stp
new file mode 100755
index 00000000..e6e15ecf
--- /dev/null
+++ b/testsuite/parseko/functiondecl07.stp
@@ -0,0 +1,7 @@
+#! stap -p1
+
+# bad function declaration - needs a ',' between arguments
+function decl(a b)
+{
+ return 0
+}