about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-07 04:28:50 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-08 05:06:49 +0000
commite9267adb49877bf3e7b30a740745535109202001 (patch)
tree1e5b2b1a0683ea5c86fc97bf0c3ef973b3730401 /Test
parent3be8e1bbdde909f7432e1223bf3b4ee3c6470402 (diff)
downloadzsh-e9267adb49877bf3e7b30a740745535109202001.tar.gz
zsh-e9267adb49877bf3e7b30a740745535109202001.tar.xz
zsh-e9267adb49877bf3e7b30a740745535109202001.zip
40508: Make $functions re-settable.
Diffstat (limited to 'Test')
-rw-r--r--Test/V06parameter.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/V06parameter.ztst b/Test/V06parameter.ztst
index 10e0a276e..27d587852 100644
--- a/Test/V06parameter.ztst
+++ b/Test/V06parameter.ztst
@@ -86,6 +86,12 @@
 >I have been autoloaded
 >$mydir/myfunc
 
+ functions+=(a 'echo foo'); a
+ functions+=(a 'echo bar'); a
+0:$functions can be appended to twice
+>foo
+>bar
+
 %clean
 
  rm -f autofn functrace.zsh rocky3.zsh sourcedfile myfunc