tests/inf4.c: use unsigned int for infinite loop iterator
[pet.git] / tests / call3.c
blobcfd5b5302bd89996460b15e1707a9d392ba6af56
1 void foo(int C[const static 4])
3 for (int i = 0; i < 4; ++i)
4 C[i] += i;
7 void bar(int n, int A[const static n])
9 #pragma scop
10 __pencil_assume(n % 4 == 0);
11 for (int i = 0; i < n; i += 4)
12 foo(&A[i]);
13 #pragma endscop