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