about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-29 12:08:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-29 12:08:25 +0000
commit0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7 (patch)
tree3ca0559d7265892ac77b90acb3b565db2112d1e3 /Test
parentd01795be2a8bd1988b3d84d8ce3f13f7563ee4e6 (diff)
downloadzsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.gz
zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.tar.xz
zsh-0f398e9d2fd4f653cf24456bf4fbb4ce277f98e7.zip
fix for `foo () print bar' (function definitions without braces) (12125)
Diffstat (limited to 'Test')
-rw-r--r--Test/09funcdef.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/09funcdef.ztst b/Test/09funcdef.ztst
index 9a244db65..07a20349d 100644
--- a/Test/09funcdef.ztst
+++ b/Test/09funcdef.ztst
@@ -6,3 +6,8 @@
   f$$
 0:Regression test: `function f$$ () { ... }'
 >regress expansion of function names
+
+  function foo () print bar
+  foo
+0:Function definition without braces
+>bar