summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/nine.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok/nine.stp')
-rwxr-xr-xtestsuite/parseok/nine.stp15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/parseok/nine.stp b/testsuite/parseok/nine.stp
new file mode 100755
index 00000000..13e40cbf
--- /dev/null
+++ b/testsuite/parseok/nine.stp
@@ -0,0 +1,15 @@
+#! stap -p1
+
+probe one
+{
+ if (a) if (b) d else e
+}
+
+probe two
+{
+ a = b
+ c = d
+ e = f();
+ g = h;
+ ;
+}