S/390: Deprecate g5 and g6 CPU levels
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / sections-1.C
blob43704908e43de34b39717efbe1c65bcacf9d65aa
1 /* { dg-do compile } */
3 extern void bar(int);
5 void f1(void)
7   #pragma omp sections nowait
8     {
9       bar (1);
10     #pragma omp section
11       bar (2);
12     #pragma omp section
13       bar (3);
14     #pragma omp section
15       bar (4);
16     #pragma omp section
17       bar (5);
18     }
21 void f2(void)
23   #pragma omp sections
24     {
25     #pragma omp section
26       {
27         bar (1);
28         bar (1);
29       }
30     #pragma omp section
31       bar (2);
32     #pragma omp section
33       bar (3);
34     #pragma omp section
35       bar (4);
36     #pragma omp section
37       bar (5);
38     }