summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20050121-1.c
blob: 3fe299a6dc2b7318bf5bc4227d0bc6f517731b93 (plain)
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" } */
}