extract out pet_to_bool
[pet.git] / tests / piecewise.c
blob76750ce1ede675044ad0b2c12821fcd11035ed33
1 void bar(int N, int a[N][N], int b[5][5])
3 int i, j;
5 #pragma scop
6 for (i = 0; i < N; ++i)
7 for (j = i; j < N; ++j)
8 a[i][j] = a[i > 0 ? i - 1 : i][0];
9 #pragma endscop