2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template12.C
blobd26dfbd75d85b1ae7cfa3366ca1865a3842de20e
1 // { dg-do assemble  }
2 // Testcase for 'this is a type' syntax.
4 struct B {
5   typedef int A;
6 };
8 template <class T> struct Y {
9   void f() {
10     typename T::A *d;
11   }
14 template class Y<B>;