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: always treat compound statement as a block
[pet.git]
/
tests
/
call2.c
blob
1cc25eac53c476ed53df688dadfa5356c2ffcdeb
1
int
f
(
int
,
int
);
2
3
void
foo
(
int
i
,
int
n
,
int
A
[
const static
n
])
4
{
5
A
[
i
-
1
] =
0
;
6
if
(
i
<
n
)
7
if
(
f
(
i
,
n
))
8
A
[
i
] +=
1
;
9
}
10
11
void
bar
(
int
n
,
int
B
[
const static
n
][
n
])
12
{
13
#pragma scop
14
for
(
int
i
=
0
;
i
<
n
; ++
i
)
15
foo
(
i
+
1
,
n
,
B
[
i
]);
16
#pragma endscop
17
}