summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
diff options
context:
space:
mode:
authorfche <fche>2005-09-03 16:52:41 +0000
committerfche <fche>2005-09-03 16:52:41 +0000
commit6a505121fc997e6f21d26f8c8656f99e58faaaab (patch)
treea40bb598454cf046c55c54ddfb46f83492fbdcb9 /testsuite/semko
parentd9e1dc7a03b0341bc924ba4a008a31676dbc9510 (diff)
downloadsystemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.tar.gz
systemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.tar.xz
systemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.zip
2005-09-03 Frank Ch. Eigler <fche@elastic.org>
PR 1292, by popular request. * parse.cxx (parse_functiondecl): Allow optional value/param type declarations. * stap.1.in: Document this. * tapset/*.stp: Convert most functions accordingly. * testsuite/parseok/twelve.stp, semok/seven.stp, semko/twenty.stp: Test this.
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-xtestsuite/semko/nineteen.stp2
-rwxr-xr-xtestsuite/semko/twenty.stp7
2 files changed, 8 insertions, 1 deletions
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
+}