about summary refs log tree commit diff
path: root/Test/09funcdef.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/09funcdef.ztst')
-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