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