repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tests/inf4.c: use unsigned int for infinite loop iterator
[pet.git]
/
tests
/
continue2.c
blob
8665371f3952cabddf7951836d96ae26e84e88be
1
int
f
(
void
);
2
3
void
foo
()
4
{
5
int
i
,
j
,
a
[
100
];
6
7
#pragma scop
8
for
(
i
=
0
;
i
<
100
; ++
i
) {
9
if
(
i
<
60
) {
10
if
(
a
[
i
] >
5
) {
11
j
=
f
();
12
if
(
j
==
0
)
13
continue
;
14
a
[
i
] =
i
;
15
}
else
16
a
[
i
] =
0
;
17
j
=
f
();
18
}
else
19
a
[
i
] =
i
;
20
j
=
f
();
21
a
[
i
] =
a
[
i
] +
1
;
22
}
23
#pragma endscop
24
}