summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/conditional.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/conditional.stp')
-rw-r--r--testsuite/semko/conditional.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/semko/conditional.stp b/testsuite/semko/conditional.stp
new file mode 100644
index 00000000..ee164548
--- /dev/null
+++ b/testsuite/semko/conditional.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+probe begin {
+ %( 1 == 0 %? print(1) %? print(2) %)
+}