LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / combined-1.c
blob0c0848c5e7c013b8c6e0908530039bd2c70857f7
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fopenmp -fdump-tree-optimized" } */
4 int a[10];
5 int foo (void)
7 int i;
8 #pragma omp parallel for schedule(runtime)
9 for (i = 0; i < 10; i++)
10 a[i] = i;
11 #pragma omp parallel
12 #pragma omp for schedule(runtime)
13 for (i = 0; i < 10; i++)
14 a[i] = 10 - i;
15 #pragma omp parallel
17 #pragma omp for schedule(runtime)
18 for (i = 0; i < 10; i++)
19 a[i] = i;
23 /* { dg-final { scan-tree-dump-times "GOMP_parallel_loop_runtime" 3 "optimized" } } */