summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/nine.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/nine.stp')
-rwxr-xr-xtestsuite/buildok/nine.stp8
1 files changed, 8 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);
+}