repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050121-1.c
blob
3fe299a6dc2b7318bf5bc4227d0bc6f517731b93
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
}