summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2024-08-15 18:06:19 -0700
committerBart Schaefer <schaefer@zsh.org>2024-08-15 18:06:19 -0700
commit5977d3cdd4b241ab7afff868ed58afc00b45c424 (patch)
tree73507fbd28ac1bdf8383e502954e9380f454e55f /Test
parent8a811b369b8c7338a90bb85e12bc9f0cfb2b6b6d (diff)
downloadzsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.tar.gz
zsh-5977d3cdd4b241ab7afff868ed58afc00b45c424.zip
unposted: fix parsing of Bang token in value side of array element assignment
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=\( <-> \)