aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memclass3.C
blob: 2174a3b17b0df242e12fea51b9f1815638d115a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
template <class T> struct A {
  template <class U> struct B {
    template <class V> struct C {
      template <class W> struct D {
	template <class X> struct E {
	  template <class Y> struct F {
	    template <class Z> void f (Z) { }
	    void g () { }
	  };
	};
      };
    };
  };
};

main ()
{
  A<int>::B<int>::C<int>::D<int>::E<int>::F<int> b;
  b.f (42);
  b.g ();
}