diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-06 15:28:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-06 15:28:17 +0000 |
commit | f2d873d8114561c4c8658659408d9cecfe60a0fc (patch) | |
tree | 31360e794f27687dd30dc2e6e1a0dda8e8aaafd6 /Test | |
parent | 394ab0aeb72190e66aca3b3d21c9d3264fe1129f (diff) | |
download | zsh-f2d873d8114561c4c8658659408d9cecfe60a0fc.tar.gz zsh-f2d873d8114561c4c8658659408d9cecfe60a0fc.tar.xz zsh-f2d873d8114561c4c8658659408d9cecfe60a0fc.zip |
21701: Negative subscripts of scalars before start were broken
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D06subscript.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D06subscript.ztst b/Test/D06subscript.ztst index f90c1cb0a..9ce022557 100644 --- a/Test/D06subscript.ztst +++ b/Test/D06subscript.ztst @@ -178,3 +178,8 @@ 0:Keys with double quotes and the (P) expansion flag >lower >upper + + typeset -a empty_array + echo X${${l##*}[-1]}X +0:Negative index applied to substition result from empty array +>XX |