repo.or.cz
/
ppcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update isl for replacement of CLooG test cases with schedule tree versions
[ppcg.git]
/
tests
/
loop.c
blob
910425b403e3d4f60024a8d10bdf20342ba7ae83
1
#include <stdlib.h>
2
3
int
main
()
4
{
5
int
a
[
1000
],
b
[
1000
];
6
7
for
(
int
i
=
0
;
i
<
1000
; ++
i
)
8
a
[
i
] =
i
;
9
#pragma scop
10
for
(
int
i
=
0
;
i
<
1000
; ++
i
)
11
b
[
i
] =
a
[
i
];
12
#pragma endscop
13
for
(
int
i
=
0
;
i
<
1000
; ++
i
)
14
if
(
b
[
i
] !=
a
[
i
])
15
return
EXIT_FAILURE
;
16
17
return
EXIT_SUCCESS
;
18
}