8 for (i = 0; i < 10; ++i)
12 continue; // { dg-error "invalid exit" }
19 { bad1: ; } // { dg-error "jump to label" }
21 goto bad1; // { dg-message "from here|enters OpenMP" }
26 goto bad2; // { dg-message "from here" }
28 bad2:; // { dg-error "jump" }
29 // { dg-message "exits OpenMP" "" { target *-*-* } .-1 }
31 goto bad3; // { dg-message "from here" }
34 bad3: ; // { dg-error "jump" }
35 // { dg-message "enters OpenMP" "" { target *-*-* } .-1 }
46 for (i = 0; i < 10; ++i)
63 // { dg-message "error: invalid branch to/from OpenMP structured block" "" { target *-*-* } 21 }
64 // { dg-message "error: invalid branch to/from OpenMP structured block" "" { target *-*-* } 26 }
65 // { dg-message "error: invalid entry to OpenMP structured block" "" { target *-*-* } 31 }