Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr22429.c
blob: aa55b6e88acc6fdbbf7520aaf39cbc402b9aa219 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
#define
N
(
1
<<
(
sizeof
(
int
)
*
__CHAR_BIT__
-
2
))
int
f
(
int
n
)
{
if
(-
N
<=
n
&&
n
<=
N
-
1
)
return
1
;
return
0
;
}
int
main
()
{
if
(
f
(
N
))
abort
();
return
0
;
}