Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
pr39233.c
blob: 29f722395cfa7a803802b04eae34c8162c94dc1c [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
__attribute__
((
noinline
))
void
foo
(
void
*
p
)
{
long
l
=
(
long
)
p
;
if
(
l
<
0
||
l
>
6
)
abort
();
}
int
main
()
{
short
i
;
for
(
i
=
6
;
i
>=
0
;
i
--)
foo
((
void
*)
(
long
)
i
);
return
0
;
}