Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
pr18921-1.c
blob: b8c91aa0948a6d3a510630745dc4bcc3a3fb0d1a [
file
] [
log
] [
blame
]
/* PR middle-end/18921 */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern
void
abort
(
void
);
int
foo
(
int
k
)
{
unsigned
char
j
=
0
;
(
k
?
0
:
j
++)
==
-
1
;
return
j
;
}
int
main
()
{
if
(!
foo
(
0
))
abort
();
return
0
;
}