summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr31748.C
blob: 516978d2860d7e8576666f3691c5d4df1a846c54 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/31748

struct A;

void
foo ()
{
#pragma omp parallel private(A)	// { dg-error "struct A.*is not a variable" }
  ;
}