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
/
call3.c
blob
cfd5b5302bd89996460b15e1707a9d392ba6af56
1
void
foo
(
int
C
[
const static
4
])
2
{
3
for
(
int
i
=
0
;
i
<
4
; ++
i
)
4
C
[
i
] +=
i
;
5
}
6
7
void
bar
(
int
n
,
int
A
[
const static
n
])
8
{
9
#pragma scop
10
__pencil_assume
(
n
%
4
==
0
);
11
for
(
int
i
=
0
;
i
<
n
;
i
+=
4
)
12
foo
(&
A
[
i
]);
13
#pragma endscop
14
}