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