summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/ten.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/ten.stp')
-rwxr-xr-xtestsuite/semok/ten.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/semok/ten.stp b/testsuite/semok/ten.stp
new file mode 100755
index 00000000..d56c2a4a
--- /dev/null
+++ b/testsuite/semok/ten.stp
@@ -0,0 +1,10 @@
+#! stap -p1
+
+global a1, a2, a3
+
+probe all
+{
+ a = "1" in a1;
+ a = ("1", a) in a2;
+ a = (a, a+a, a1[a], a2[0+a]) in a3;
+}