diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/parseok/twelve.stp | 2 | ||||
-rwxr-xr-x | testsuite/semko/nineteen.stp | 2 | ||||
-rwxr-xr-x | testsuite/semko/twenty.stp | 7 | ||||
-rwxr-xr-x | testsuite/semok/seven.stp | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/testsuite/parseok/twelve.stp b/testsuite/parseok/twelve.stp index d5029d1a..2e20da18 100755 --- a/testsuite/parseok/twelve.stp +++ b/testsuite/parseok/twelve.stp @@ -6,7 +6,7 @@ /* hello world */ %} -function foo (p1, p2) %{ +function foo:long (p1:string, p2:long, p3) %{ /* goodbye world */ %} diff --git a/testsuite/semko/nineteen.stp b/testsuite/semko/nineteen.stp index 04a9af20..bd8a4129 100755 --- a/testsuite/semko/nineteen.stp +++ b/testsuite/semko/nineteen.stp @@ -1,4 +1,4 @@ -#! stap -p4 +#! stap -p2 # PR 1155: should start working when we can resolve the parameters of # the inlines. diff --git a/testsuite/semko/twenty.stp b/testsuite/semko/twenty.stp new file mode 100755 index 00000000..899efdc1 --- /dev/null +++ b/testsuite/semko/twenty.stp @@ -0,0 +1,7 @@ +#! stap -p2 + +function a:string () { } + +probe begin { + a() + 1 +} diff --git a/testsuite/semok/seven.stp b/testsuite/semok/seven.stp index 73264923..f0b248bd 100755 --- a/testsuite/semok/seven.stp +++ b/testsuite/semok/seven.stp @@ -2,8 +2,8 @@ global ar1, ar2 -function string (v) { num=v+0; return "stringify me" } # to become a built-in -function printk (s) { str=s.""; return 0 } # to become a built-in +function string:string (v:long) { } # to become a built-in +function printk (s:string) { return 0 } # to become a built-in function search (key) { |