summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-xtestsuite/semok/twentythree.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/semok/twentythree.stp b/testsuite/semok/twentythree.stp
new file mode 100755
index 00000000..dbdaf7e5
--- /dev/null
+++ b/testsuite/semok/twentythree.stp
@@ -0,0 +1,6 @@
+#! stap -p2
+
+global c, a = 1
+global b = "hello", d
+
+probe begin { print (c = a) print (d = b) }