func3.tests 144 B

12345678
  1. f() { false; return; echo BAD; };
  2. { f; echo One:$?; }; echo Zero:$?
  3. f() { false; return; };
  4. f; echo One:$?
  5. f() { return 5; };
  6. f; echo Five:$?