summaryrefslogtreecommitdiffstats
path: root/testsuite/buildko/two.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildko/two.stp')
-rw-r--r--testsuite/buildko/two.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/buildko/two.stp b/testsuite/buildko/two.stp
new file mode 100644
index 00000000..25350dc0
--- /dev/null
+++ b/testsuite/buildko/two.stp
@@ -0,0 +1,14 @@
+#! stap -p4
+
+# tests overwide arrays
+global a10
+global b10
+global c10
+global d10
+
+probe begin {
+ a10[0,"a",0,"a",0,"a",0,"a",0,"a"]="a";
+ b10["b",0,"b",0,"b",0,"b",0,"b",0]=0;
+ c10[0,"a",0,"a",0,"a",0,"a",0,"a"]<<<0;
+ d10["b",0,"b",0,"b",0,"b",0,"b",0]<<<0;
+}