1 2 3 4 5 6 7 8 9
/* I accidentally broke this while developing a patch for PR 13000, and didn't notice since the testsuite didn't catch it -- ian */ /* { dg-do-compile } */ void foo() { return; break; /* { dg-error "break statement not within" } */ }