(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wshadow-compatible-local-3.C
// PR c++/100608
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wshadow=compatible-local" }

template <typename> class X {};

void foo()
{
  auto a = X<class a>{};	// no warning, not compatible
}