about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Test/B02typeset.ztst5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8bc8c4da..9671483fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-09-25  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Test/B02typeset.ztst: Add a test for 43546.
+
 2018-09-25  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* Stephane: 43546: "typeset -p" should show presence of -U
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 996af064f..b53f42f83 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -819,3 +819,8 @@
 >  [one]=two
 >  [three]=''
 >)
+
+ (typeset -a -U foo=(bar bar)
+ typeset -p foo)
+0:typeset -p of typeset -U
+>typeset -aU foo=( bar )