1 2 3 4 5 6 7 8 9 10 11
// { dg-do compile } void foo(int n, int i) { int A[n]; #pragma omp parallel sections lastprivate(A) { A[i] = 1; } }