summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/template/partial-specialization2.C
blob: c22d73989ae01df772f072cc1a515c237d8d482a (plain)
1
2
3
4
5
6
7
8
// PR c++/54653

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

template <class T> struct A<T*>::B<T*> { }; // { dg-error "too few template-parameter-lists" }
OpenPOWER on IntegriCloud