summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Test/D04parameter.ztst6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a4db9010..546620d6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-28  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Test/D04parameter.ztst: Test for 36669
+
 2015-09-28  Daniel Hahler  <git@thequod.de>
 
 	* 36601: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index e380e19b8..f1cc23e7c 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -572,6 +572,12 @@
 >echo
 >three
 
+  print -rl - ${(z):-":;(( echo 42 "}
+0:${(z)} with incomplete math expressions
+>:
+>;
+>(( echo 42 
+
   psvar=(dog)
   setopt promptsubst
   foo='It shouldn'\''t $(happen) to a %1v.'