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
PetScan::extract(pet_expr*): take explicit source range
[pet.git]
/
tests
/
for_while_inc.c
blob
5f1a74cee328d929726b5ae092063918ce4202a3
1
int
f
(
void
);
2
int
P
(
int
,
int
);
3
int
g
(
int
);
4
void
h
(
int
);
5
6
void
foo
(
int
n
)
7
{
8
int
s
;
9
10
#pragma scop
11
for
(
int
x1
=
0
;
x1
<
n
; ++
x1
) {
12
S1
:
s
=
f
();
13
for
(
int
x2
=
9
;
P
(
x1
,
x2
);
x2
+=
2
) {
14
S2
:
s
=
g
(
s
);
15
}
16
R
:
h
(
s
);
17
}
18
#pragma endscop
19
}