scop.c: stmt_filter: drop unused variable
[pet.git] / tests / independent3.c
blob2ce3609c5de60bb85c8afee1f765588ae20fa040
1 void foo(int n, int A[n][n], int B[n][n])
3 #pragma scop
4 for (int i = 0; i < n; ++i)
5 #pragma pencil independent
6 for (int j = 0; j < n; ++j) {
7 float t = i + j;
8 B[i][A[i][j]] = t;
10 #pragma endscop