aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/memtmpl4.C
blob: 54558b980680942c15a54c99fa4dee9e79fc6b04 (plain)
1
2
3
4
5
6
7
8
9
10
// 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 "" }