Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / vla-4.c
blobe784c74058c1f3057692ae218e1b4358424aaa48
1 // { dg-do compile }
2 /* { dg-require-effective-target alloca } */
4 void foo(int n, int i)
6 int A[n];
8 #pragma omp parallel firstprivate(A)
10 A[i] = 1;