blob: 54558b980680942c15a54c99fa4dee9e79fc6b04 [file] [log] [blame]
// PR c++/53492
template<typename T> struct A
{
template<typename U> struct B;
};
template <> template<class T> struct A<T>::B { }; // { dg-error "expected 2 levels" }
A<int>::B<int> b; // { dg-error "" }