diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-11 11:09:15 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-11 11:09:15 +0000 |
commit | b262d310b218102aeb88ec233acf77fe4d82f7ad (patch) | |
tree | 8273d4d13a27198fee1b4853af8c7202b64cb459 /Test | |
parent | 7b927aeac7ed5be0b3de8476e9f0b8fb88199b3d (diff) | |
download | zsh-b262d310b218102aeb88ec233acf77fe4d82f7ad.tar.gz zsh-b262d310b218102aeb88ec233acf77fe4d82f7ad.tar.xz zsh-b262d310b218102aeb88ec233acf77fe4d82f7ad.zip |
22686: unset array if assigning numeric parameter
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C01arith.ztst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 9bab48244..9867b5d9a 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -97,6 +97,12 @@ 0:setting array elements in math context >array 1 2 + xarr=() + (( xarr = 3 )) + print ${(t)xarr} $xarr +0:converting type from array +>integer 3 + print $(( 13 = 42 )) 1:bad lvalue ?(eval):1: lvalue required |