function y = foo(x,y) square_me(x); square_me(y); y = sqrt(x+y); function square_me(&t) t = t^2;