xref: /freebsd/bin/sh/tests/builtins/break3.0 (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
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