about summary refs log tree commit diff
path: root/Test/C01arith.ztst
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-12-17 20:47:39 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-12-17 20:47:39 +0000
commit76bd48d67422c28d54ef75ef313b8763f6d60760 (patch)
treecd4cbd7854be17153843ca3f61f8d09f2c6d1c25 /Test/C01arith.ztst
parentf8c004aa611908c9134a2174971ba80f9f8a0403 (diff)
downloadzsh-76bd48d67422c28d54ef75ef313b8763f6d60760.tar.gz
zsh-76bd48d67422c28d54ef75ef313b8763f6d60760.tar.xz
zsh-76bd48d67422c28d54ef75ef313b8763f6d60760.zip
19308: zsh crashes with $((##))
Diffstat (limited to 'Test/C01arith.ztst')
-rw-r--r--Test/C01arith.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst
index 8558d66a8..d431daae0 100644
--- a/Test/C01arith.ztst
+++ b/Test/C01arith.ztst
@@ -68,6 +68,14 @@
 0:#, ## and $#
 >117
 
+  print $((##))
+0:## without following character
+>0
+
+  print $((## ))
+0:## followed by a space
+>32
+
   integer i
   (( i = 3 + 5 * 1.75 ))
   print $i