about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-08-09 09:48:35 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2018-08-09 09:48:35 +0100
commitf58b35bf88722b9e9e420fa86f1a0a96f98515d9 (patch)
treed4e98db2689ef434316a8a367b89e763453010b8 /Test
parent225b35c9070f94cf79c90c33ffcee84b281f894d (diff)
downloadzsh-f58b35bf88722b9e9e420fa86f1a0a96f98515d9.tar.gz
zsh-f58b35bf88722b9e9e420fa86f1a0a96f98515d9.tar.xz
zsh-f58b35bf88722b9e9e420fa86f1a0a96f98515d9.zip
43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 3b187f492..e327a784c 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2422,3 +2422,11 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
 >: #
 >: ` backtick
 >: word
+
+  (
+    setopt KSH_ARRAYS
+    typeset -A ksh_assoc
+    print ${+assoc[unset]}
+  )
+0:Use of parameter subst + to test element of hash with KSH_ARRAYS.
+>0