Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
Wunreachable-3.c
blob: 966d89e3abc7f1cabc494b0050baac8f09ff1193 [
file
] [
log
] [
blame
]
/* PR c/10175 */
/* { dg-do compile } */
/* { dg-options "-Wunreachable-code" } */
int
i
,
j
;
int
main
(
void
)
{
if
(
0
)
{
i
=
0
;
/* { dg-warning "will never be executed" "" } */
j
=
0
;
}
else
{
i
=
1
;
j
=
1
;
}
return
0
;
}