blob: 1d929d26dde4118e9d03368a9a8bb8a2f37fd099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { dg-do compile }
void f1(void)
{
#pragma omp barrier a // { dg-error "expected end of line" }
}
void f3(bool p)
{
if (p)
#pragma omp barrier // { dg-error "compound statements" }
} // { dg-error "" }
|