summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/eleven.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/eleven.stp')
-rwxr-xr-xtestsuite/semko/eleven.stp12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/semko/eleven.stp b/testsuite/semko/eleven.stp
index 34dfa225..f76c2df9 100755
--- a/testsuite/semko/eleven.stp
+++ b/testsuite/semko/eleven.stp
@@ -1,15 +1,15 @@
-#! stap -p2
+#! stap -up2
global arr,rra
-
+global s,n
probe begin {
arr[0]="value"
rra["key"]=0
}
probe end {
# confirm that typechecking works the same way for all array indexing
- if (k in arr) { k.""; arr[k]+0 }
- foreach (l in arr) { l.""; arr[l]+0 }
- if (m in rra) { m+1; rra[m]."" }
- foreach (n in rra) { n+0; rra[n]."" }
+ if (k in arr) { s=k.""; i=arr[k]+0 }
+ foreach (l in arr) { s=l.""; i=arr[l]+0 }
+ if (m in rra) { i=m+1; s=rra[m]."" }
+ foreach (n in rra) { i=n+0; s=rra[n]."" }
}