From f58b35bf88722b9e9e420fa86f1a0a96f98515d9 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 9 Aug 2018 09:48:35 +0100
Subject: 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS
---
Test/D04parameter.ztst | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'Test/D04parameter.ztst')
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
--
cgit 1.4.1