blob: 0e5ece74b37b7711ac92bb9dbbb72c5d1cf564f3 [file] [log] [blame]
// 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
}