summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/optionalprobe.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/optionalprobe.stp')
-rw-r--r--testsuite/systemtap.base/optionalprobe.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/optionalprobe.stp b/testsuite/systemtap.base/optionalprobe.stp
new file mode 100644
index 00000000..239cf6e3
--- /dev/null
+++ b/testsuite/systemtap.base/optionalprobe.stp
@@ -0,0 +1,6 @@
+#! stap
+
+# test optional probe
+
+probe foo ?, bar !, foo* ?, bar* !, begin {
+}