// PR c++/84557 // { dg-do compile } template struct A {}; template struct B {}; void foo () { #pragma omp parallel firstprivate (A) // { dg-error "is not a variable in clause" } ; #pragma omp parallel firstprivate (B<0>) // { dg-error "is not a variable in clause" } ; }