1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - INRIA
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
10 deff('y=foo(a)','x=a+1000,stacksize(x),y=stacksize();y=y(1)')
16 if y<>a+1000 then pause,end
18 deff('y=toto()','a=stacksize();a=a(1);y=foo(a)')
20 if y<>a+1000 then pause,end
23 if y<>a+1000 then pause,end
29 if y<>a+1000 then pause,end