OSDN Git Service

* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memclass3.C
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   };
14 };
15
16 int main ()
17 {
18   A<int>::B<int>::C<int>::D<int>::E<int>::F<int> b;
19   b.f (42);
20   b.g ();
21 }