Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20000605-2.c
blob: 8a49bc6daee3976ccc69e8a15ff89459b6719ab0 [
file
] [
log
] [
blame
]
struct
F
{
int
i
;
};
void
f1
(
struct
F
*
x
,
struct
F
*
y
)
{
int
timeout
=
0
;
for
(;
((
const
struct
F
*)
x
)->
i
<
y
->
i
;
x
->
i
++)
if
(++
timeout
>
5
)
abort
();
}
main
()
{
struct
F x
,
y
;
x
.
i
=
0
;
y
.
i
=
1
;
f1
(&
x
,
&
y
);
exit
(
0
);
}