OSDN Git Service

PR c++/6440
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / spec8.C
1 // { dg-do compile }
2
3 // Specialization of member class template.
4
5 template<class T1> struct A
6 {
7   template<class T2> struct B {};
8 }; 
9
10 template <> template <> struct A<int>::B<int> {};
11 template <> template <class U> struct A<int>::B {}; // { dg-error "specialization" }