rt_gccstream/gcc/testsuite/gcc.dg/20050121-1.c

10 lines
243 B
C

/* 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" } */
}