summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/A06assign.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst
index 3eff5331a..9f779b9a8 100644
--- a/Test/A06assign.ztst
+++ b/Test/A06assign.ztst
@@ -743,3 +743,10 @@
print $a
0:overwrite [2] character (string: "") with "xx"
>xx
+
+ ( sleep 1 &
+ x[1]=$!
+ typeset -p x
+ )
+0:regression workers/53033: assigning $! to array element
+*>typeset -g -a x=\( <-> \)