summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/eight.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/buildok/eight.stp b/testsuite/buildok/eight.stp
new file mode 100755
index 00000000..84390270
--- /dev/null
+++ b/testsuite/buildok/eight.stp
@@ -0,0 +1,10 @@
+#! stap -p4
+
+global foo
+
+probe begin {
+ foo[1] = 1
+ delete foo[1]
+ delete foo[foo[foo[foo[1]]]]
+ delete foo
+}