summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/nine.stp8
-rwxr-xr-xtestsuite/semok/eighteen.stp8
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/buildok/nine.stp b/testsuite/buildok/nine.stp
new file mode 100755
index 00000000..d9a15276
--- /dev/null
+++ b/testsuite/buildok/nine.stp
@@ -0,0 +1,8 @@
+#! stap -p2
+
+function f () { }
+function g (arg) { }
+
+probe begin {
+ true ? f() : g(1);
+}
diff --git a/testsuite/semok/eighteen.stp b/testsuite/semok/eighteen.stp
new file mode 100755
index 00000000..1b05d89b
--- /dev/null
+++ b/testsuite/semok/eighteen.stp
@@ -0,0 +1,8 @@
+#! stap -p2
+
+function f () { }
+function g (arg) { }
+
+probe begin {
+ f(); g(1)
+}