summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok')
-rwxr-xr-xtestsuite/parseok/nine.stp4
-rwxr-xr-xtestsuite/parseok/twelve.stp9
2 files changed, 11 insertions, 2 deletions
diff --git a/testsuite/parseok/nine.stp b/testsuite/parseok/nine.stp
index 13e40cbf..3582907a 100755
--- a/testsuite/parseok/nine.stp
+++ b/testsuite/parseok/nine.stp
@@ -9,7 +9,7 @@ probe two
{
a = b
c = d
- e = f();
- g = h;
+ _e = $f();
+ _g = h_;
;
}
diff --git a/testsuite/parseok/twelve.stp b/testsuite/parseok/twelve.stp
new file mode 100755
index 00000000..5b8a3932
--- /dev/null
+++ b/testsuite/parseok/twelve.stp
@@ -0,0 +1,9 @@
+#! stap -p1
+
+%{
+/* hello world */
+%}
+
+function foo (p1, p2) %{
+ /* goodbye world */
+%}