summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/null.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/null.stp')
-rwxr-xr-xtestsuite/buildok/null.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/buildok/null.stp b/testsuite/buildok/null.stp
new file mode 100755
index 00000000..9bcaf3f6
--- /dev/null
+++ b/testsuite/buildok/null.stp
@@ -0,0 +1,5 @@
+#! stap -p4
+
+# PR10298
+global foo = 5
+probe begin { if (foo == NULL) log("hello") }