xref: /freebsd/bin/sh/tests/builtins/break5.4 (revision 02e9120893770924227138ba49df1edb3896112a)
1
2# Although this is not specified by POSIX, some configure scripts (gawk 4.1.0)
3# appear to depend on it.
4# In some uncommitted code, the subshell environment corrupted the outer
5# shell environment's state.
6
7(for i in a b c; do
8	exit 3
9done)
10break
11exit 4
12