blob: d8fb2a09d3059e4a734e4dfbd8c13d5cf325adfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { dg-do compile }
extern void bar (void);
int main (void)
{
#pragma omp parallel sections nowait /* { dg-error "'nowait'" } */
{
#pragma omp section
{ bar(); }
#pragma omp section
{ bar(); }
}
}
|