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