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
/
20031111-1.c
blob
f4de52257bcba5ffbe4389a30ad5bb775627e873
1
/* Make sure that dead code isn't eliminated too early, avoiding
2
detection of errors. */
3
/* { dg-do compile } */
4
5
void
foo
(
void
)
6
{
7
if
(
0
)
8
break
;
/* { dg-error "" } */
9
if
(
1
)
10
;
11
else
12
continue
;
/* { dg-error "" } */
13
}