Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dce1.C
blob: f4de52257bcba5ffbe4389a30ad5bb775627e873 [
file
] [
log
] [
blame
]
/* Make sure that dead code isn't eliminated too early, avoiding
detection of errors. */
/* { dg-do compile } */
void
foo
(
void
)
{
if
(
0
)
break
;
/* { dg-error "" } */
if
(
1
)
;
else
continue
;
/* { dg-error "" } */
}