From 6a505121fc997e6f21d26f8c8656f99e58faaaab Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 3 Sep 2005 16:52:41 +0000 Subject: 2005-09-03 Frank Ch. Eigler 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. --- testsuite/semko/twenty.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/semko/twenty.stp (limited to 'testsuite/semko/twenty.stp') 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 +} -- cgit