1# $FreeBSD: src/tools/regression/bin/sh/builtins/break3.0,v 1.1 2010/08/22 11:04:30 jilles Exp $
23# We accept this and people might rely on it.
4# However, various other shells do not accept it.
56f() {
7 break
8 echo bad1
9}
1011while :; do
12 f
13 echo bad2
14 exit 2
15done
16