update isl for replacement of CLooG test cases with schedule tree versions
[ppcg.git] / tests / loop.c
blob910425b403e3d4f60024a8d10bdf20342ba7ae83
1 #include <stdlib.h>
3 int main()
5 int a[1000], b[1000];
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;
17 return EXIT_SUCCESS;