Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / sections-2.c
blobaabdfaf8069aef31c2c0eda8f23c02c04ad1fe03
1 /* { dg-do compile } */
3 extern void bar(int);
4 void foo(void)
6 #pragma omp sections
7 bar (0); // { dg-error "expected" }
9 #pragma omp sections
11 } // { dg-error "expected" }
13 #pragma omp sections
15 bar (1);
18 #pragma omp sections
20 #pragma omp section
21 bar(2);
22 bar(3); // { dg-error "expected" }
23 bar(4);
24 #pragma omp section
25 bar(5);
26 bar(6); // { dg-error "expected" }
27 bar(7);