FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memclass3.C
blob77744f854a9c99fdf0aebcc009a86be32dbf1281
1 template <class T> struct A {
2   template <class U> struct B {
3     template <class V> struct C {
4       template <class W> struct D {
5         template <class X> struct E {
6           template <class Y> struct F {
7             template <class Z> void f (Z) { }
8             void g () { }
9           };
10         };
11       };
12     };
13   };
16 int main ()
18   A<int>::B<int>::C<int>::D<int>::E<int>::F<int> b;
19   b.f (42);
20   b.g ();