From bdfebe3e3262eaaf83e89c9356c7c46a21181a6a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 11 Jul 2009 16:42:53 +0000 Subject: 27129: fix status at start of function, command subst, etc. --- Test/C04funcdef.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test/C04funcdef.ztst') 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 } -- cgit 1.4.1