1 // { dg-do compile { target c++11 } }
7 #pragma omp parallel sections
11 [[omp::directive (section)]] {
13 } [[omp::directive (section)]]
18 [[omp::directive (parallel sections)]]
22 [[omp::directive (section)]] {
24 } [[omp::directive (section)]]
29 #pragma omp parallel sections
35 if (a[5] == 42) goto l1;
36 [[omp::directive (section)]] {
39 } [[omp::directive (section)]]
46 [[omp::directive (parallel sections)]]
51 [[omp::directive (section)]] {
54 } [[omp::directive (section)]]
67 bar (int a, int *c, int *d, int *e, int *f)
70 #pragma omp simd reduction (inscan, +: a)
71 for (i = 0; i < 64; i++)
74 [[omp::directive (scan, exclusive (a))]]
77 [[omp::directive (simd reduction (inscan, +: a))]]
78 for (i = 0; i < 64; i++)
81 #pragma omp scan inclusive (a)
84 #pragma omp simd reduction (inscan, +: a)
85 for (i = 0; i < 64; i++)
89 [[omp::directive (scan, exclusive (a))]]
93 [[omp::directive (simd reduction (inscan, +: a))]]
94 for (i = 0; i < 64; i++)
98 #pragma omp scan inclusive (a)