break5.tests 148 B

1234
  1. while true; do echo A; { echo B; break; echo C; }; echo D; done
  2. echo $?
  3. for v in a b c; do echo A:$v; (echo B; break; echo C); echo D; done
  4. echo $?