about summary refs log tree commit diff
path: root/Test/C04funcdef.ztst
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:32:58 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:32:58 +0000
commita370470baeb2e7994d6165c9f056a60b2e37f21e (patch)
treed54daf1c54ef6e3907568c59944e19816aa91f72 /Test/C04funcdef.ztst
parentfcc778d4b93ae8723e552d8ab7f338b5011c37b4 (diff)
downloadzsh-a370470baeb2e7994d6165c9f056a60b2e37f21e.tar.gz
zsh-a370470baeb2e7994d6165c9f056a60b2e37f21e.tar.xz
zsh-a370470baeb2e7994d6165c9f056a60b2e37f21e.zip
moved from ./Test/09funcdef.ztst
Diffstat (limited to 'Test/C04funcdef.ztst')
-rw-r--r--Test/C04funcdef.ztst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst
new file mode 100644
index 000000000..07a20349d
--- /dev/null
+++ b/Test/C04funcdef.ztst
@@ -0,0 +1,13 @@
+%test
+
+  function f$$ () {
+    print regress expansion of function names
+  }
+  f$$
+0:Regression test: `function f$$ () { ... }'
+>regress expansion of function names
+
+  function foo () print bar
+  foo
+0:Function definition without braces
+>bar