Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-2.c
blob: 3227734fbf8bc1454d6b75cdc0ec5adcf32d9e91 [
file
] [
log
] [
blame
]
int
a
[
2
];
f
(
b
)
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
b
;
i
++)
a
[
i
]
=
i
-
2
;
}
main
()
{
a
[
0
]
=
a
[
1
]
=
0
;
f
(
2
);
if
(
a
[
0
]
!=
-
2
||
a
[
1
]
!=
-
1
)
abort
();
exit
(
0
);
}