From e5d5a76dce1cc488627c8623f0cd972c3d52644d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 21 Aug 2015 17:12:46 +0100 Subject: Test for 36265, no alias expansion after "function" --- Test/C04funcdef.ztst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Test/C04funcdef.ztst') diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 74f881587..0951e2cde 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -295,6 +295,19 @@ >} >This is the correct output. + unfunction command_not_found_handler # amusing but unhelpful + alias first='firstfn1 firstfn2' second='secondfn1 secondfn2' + function first second { print This is function $0; } + first + second + firstfn1 + secondfn1 +127:No alias expansion after "function" keyword +>This is function first +>This is function second +?(eval):6: command not found: firstfn1 +?(eval):7: command not found: secondfn1 + %clean rm -f file.in file.out -- cgit v1.2.3-70-g09d2