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