blob: cd215901aefdc73605e824d04567cf07f26bdf0c [file] [log] [blame]
// PR c++/84557
// { dg-do compile }
template<int> struct A {};
template<int> 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" }
;
}