xref: /freebsd/bin/sh/tests/builtins/break3.0 (revision edf8578117e8844e02c0121147f45e4609b30680)
1
2# We accept this and people might rely on it.
3# However, various other shells do not accept it.
4
5f() {
6	break
7	echo bad1
8}
9
10while :; do
11	f
12	echo bad2
13	exit 2
14done
15