support empty statements
[pet.git] / tests / rotate.c
blob83cc9d9d97a5898085e34ed11880c4c60592d704
1 void rotate(int N, int A[N], int B[N])
3 #pragma scop
4 for (int i = 0; i < N; ++i)
5 A[i] = i == 0 ? B[N - 1] : B[i - 1];
6 #pragma endscop