diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-11 16:42:53 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-07-11 16:42:53 +0000 |
| commit | bdfebe3e3262eaaf83e89c9356c7c46a21181a6a (patch) | |
| tree | 87027d549b390d53ab682c872c83b93ce8f98250 /Test/C04funcdef.ztst | |
| parent | 27127: Vincent Bernat: handle bts fixed and bts notfixed. (diff) | |
| download | zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.gz zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.bz2 zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.lz zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.xz zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.tar.zst zsh-bdfebe3e3262eaaf83e89c9356c7c46a21181a6a.zip | |
27129: fix status at start of function, command subst, etc.
Diffstat (limited to 'Test/C04funcdef.ztst')
| -rw-r--r-- | Test/C04funcdef.ztst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 338c36fab..f71e5ce77 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -15,6 +15,13 @@ fnz 0:Empty function body resets status + fn3() { return 3; } + fnstat() { print $?; } + fn3 + fnstat +0:Status is not reset on non-empty function body +>3 + function f$$ () { print regress expansion of function names } |
