3 // Specialization of member class template.
5 template<class T1> struct A
7 template<class T2> struct B {};
8 template<class T2> struct C {};
11 template <> template <> struct A<int>::B<int>;
12 template <> template <class U> struct A<int>::B {};
13 A<int>::B<int> ab; // { dg-error "incomplete" }
16 template <> template <class U> struct A<int>::C {}; // { dg-error "specialization" }