summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/spec23.C
blob: 33e97a074283a1c3ed4faad1cb504aa040965a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
/* [temp.expl.spec] p18.  */

template<class T>
struct A {
  template <class U> class B { };
};

template<class T>
class A<T>::B<void> {		// { dg-error "" } only one template header
};