]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - tools/regression/bin/sh/builtins/break3.0
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / tools / regression / bin / sh / builtins / break3.0
1 # $FreeBSD$
2
3 # We accept this and people might rely on it.
4 # However, various other shells do not accept it.
5
6 f() {
7         break
8         echo bad1
9 }
10
11 while :; do
12         f
13         echo bad2
14         exit 2
15 done