Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr23047.c
blob: 2c963abc4c62a279576133092b46601c84695c18 [
file
] [
log
] [
blame
]
/* { dg-options "-fwrapv" } */
#include
<limits.h>
extern
void
abort
();
extern
void
exit
(
int
);
void
f
(
int
i
)
{
i
=
i
>
0
?
i
:
-
i
;
if
(
i
<
0
)
return
;
abort
();
}
int
main
(
int
argc
,
char
*
argv
[])
{
f
(
INT_MIN
);
exit
(
0
);
}