Merge C++ from gomp-20050608-branch.
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / flush-2.C
bloba5c0df89cc28239cfcbc0f972e7ae8ff54dbce1d
1 // { dg-do compile }
3 void f1(void)
5   #pragma omp flush a           // { dg-error "expected" }
6   #pragma omp flush (           // { dg-error "expected" }
7   #pragma omp flush (b          // { dg-error "declared|expected" }
8   #pragma omp flush (c d)       // { dg-error "declared|expected" }
9   #pragma omp flush (e)         // { dg-error "declared" }