summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-06-21 16:12:51 +0100
committerPeter Stephenson <pws@zsh.org>2016-06-21 16:12:51 +0100
commit016929e043abb8ba778293c29081ca8e227c6e58 (patch)
treee79d08294aaf4cdb0a2090d729a5503e4f2ccb4c /Test
parentd309d9addc114d22175f5feb0ab2e5fdf290dc02 (diff)
downloadzsh-016929e043abb8ba778293c29081ca8e227c6e58.tar.gz
zsh-016929e043abb8ba778293c29081ca8e227c6e58.zip
38734: fix final case clauses terminating with ;&
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 7eedfa6e0..394480c19 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -283,6 +283,14 @@
>2
>3
+ case whatever in
+ (*) print yeah, right ;&
+ esac
+ print but well
+0:'case', redundant final ";&"
+>yeah, right
+>but well
+
## Select now reads from stdin if the shell is not interactive.
## Its own output goes to stderr.
(COLUMNS=80 LINES=3