Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
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
;
}