summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/twentyfive.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/twentyfive.stp')
-rwxr-xr-xtestsuite/semko/twentyfive.stp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/semko/twentyfive.stp b/testsuite/semko/twentyfive.stp
new file mode 100755
index 00000000..7ac7e099
--- /dev/null
+++ b/testsuite/semko/twentyfive.stp
@@ -0,0 +1,12 @@
+#! stap -p2
+
+# need one of these for each prohibited statistic operation
+
+global log_hist(x, 10), log_hist(y, 10)
+
+
+probe end
+{
+ x = y[10]
+}
+