diff options
Diffstat (limited to 'testsuite/parseko/functiondecl03.stp')
-rwxr-xr-x | testsuite/parseko/functiondecl03.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/parseko/functiondecl03.stp b/testsuite/parseko/functiondecl03.stp new file mode 100755 index 00000000..732f9e55 --- /dev/null +++ b/testsuite/parseko/functiondecl03.stp @@ -0,0 +1,8 @@ +#! stap -p1 + +# bad function declaration - only "string" or "long" are valid +# function return types +function decl:foo (arg1, arg2) +{ + return arg1 + arg2 +} |