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
try and include initial declarations in outer block when autodetecting
[pet.git]
/
tests
/
min2.c
blob
4a9962d00f17cbbc38e180fbe8535d7326c4744b
1
#define min(x,y) ((x) < (y) ? (x) : (y))
2
3
void
foo
(
int
N
)
4
{
5
int
i
;
6
int
a
[
N
];
7
8
#pragma scop
9
for
(
i
=
0
;
i
<
min
(
N
,
2
*
N
-
10
); ++
i
)
10
a
[
i
] =
i
;
11
#pragma endscop
12
}