summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/semko/fortyeight.stp6
-rwxr-xr-xtestsuite/semok/thirtyseven.stp6
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/semko/fortyeight.stp b/testsuite/semko/fortyeight.stp
new file mode 100755
index 00000000..34bcad01
--- /dev/null
+++ b/testsuite/semko/fortyeight.stp
@@ -0,0 +1,6 @@
+#! stap -Wp2
+
+# PR 11075
+
+global foo # evokes warning
+probe begin { exit() }
diff --git a/testsuite/semok/thirtyseven.stp b/testsuite/semok/thirtyseven.stp
new file mode 100755
index 00000000..fb378359
--- /dev/null
+++ b/testsuite/semok/thirtyseven.stp
@@ -0,0 +1,6 @@
+#! stap -wWp2
+
+# PR 11075
+
+global foo # evokes warning
+probe begin { exit() }