Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20081112-1.c
blob: 1efe0168577438805a80c0f69f7256072a3aeaa5 [
file
] [
log
] [
blame
]
#include
<limits.h>
extern
void
abort
(
void
);
static
__attribute__
((
noinline
))
void
foo
(
int
a
)
{
int
b
=
(
a
-
1
)
+
INT_MIN
;
if
(
b
!=
INT_MIN
)
abort
();
}
int
main
(
void
)
{
foo
(
1
);
return
0
;
}