LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / pr35818.c
blobb2165eb3973d0e31134b4814d2a029aca7852791
1 /* PR middle-end/35818 */
2 /* { dg-do compile } */
3 /* { dg-options "-fopenmp" } */
5 extern int a[];
7 void
8 foo (void)
10 #pragma omp parallel
11 #pragma omp master
12 a[3] = 1;
13 #pragma omp parallel shared(a)
14 #pragma omp master
15 a[3] = 1;