1 // { dg-do compile } 2 /* { dg-require-effective-target alloca } */ 3 foo(int n,int i)4 void foo(int n, int i) 5 { 6 int A[n]; 7 8 #pragma omp parallel shared(A) 9 { 10 A[i] = sizeof(A); 11 } 12 } 13