2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp98.C
blobe8e97707097fcee78249a42d4e2349b4d9cb59e9
1 // { dg-do assemble  }
2 //Purpose:
3 //  Test nested template as template template arg.
4 //Result:
5 //  Before the patch, got:
6 //   `C' is not a template
8 template <template <typename S> class T>
9 struct A
11   T<int> m_t;
14 struct B
16   template <typename V>
17   struct C
18   {
19     V m_v;
20   };
23 A<B::C> z;