Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-3.c
blob: 33eb18826fd2409caeed26e86ea5087072c51987 [
file
] [
log
] [
blame
]
#include
<limits.h>
int
n
=
0
;
g
(
i
)
{
n
++;
}
f
(
m
)
{
int
i
;
i
=
m
;
do
{
g
((
int
)((
unsigned
)
i
*
INT_MAX
)
/
2
);
}
while
(--
i
>
0
);
}
main
()
{
f
(
4
);
if
(
n
!=
4
)
abort
();
exit
(
0
);
}