(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
gomp/
pr84557.C
// 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" }
  ;
}