diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/parseko/nine.stp | 4 | ||||
-rwxr-xr-x | testsuite/parseok/four.stp | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/testsuite/parseko/nine.stp b/testsuite/parseko/nine.stp new file mode 100755 index 00000000..438824cb --- /dev/null +++ b/testsuite/parseko/nine.stp @@ -0,0 +1,4 @@ +#! stap -p1 +probe foo { + /*/ 0 +} diff --git a/testsuite/parseok/four.stp b/testsuite/parseok/four.stp index 39c9ebd4..9d7a8729 100755 --- a/testsuite/parseok/four.stp +++ b/testsuite/parseok/four.stp @@ -1,7 +1,10 @@ #! stap -p1 probe syscall ("foo").foo.bar , syscall ("bar"), syscall ("*").return -{ - $a = a$a = a$a$ = 0; +{ # no comment + $a = /* comment */ a$a = /**/ a$a$ = 0; // more comment } - +/* empty comment lines */ +/**/ +# +// |