Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}