pet 0.04
[pet.git] / tests / min2.c
blob4a9962d00f17cbbc38e180fbe8535d7326c4744b
1 #define min(x,y) ((x) < (y) ? (x) : (y))
3 void foo(int N)
5 int i;
6 int a[N];
8 #pragma scop
9 for (i = 0; i < min(N, 2 * N - 10); ++i)
10 a[i] = i;
11 #pragma endscop