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