OSDN Git Service

* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / typedef3.C
1 // { dg-do assemble  }
2 template<class T>
3 struct X{
4   T v;
5   X(){}
6   virtual ~X(){}
7   virtual inline T f(T x){return x;}
8 };
9
10 void f()
11 {
12   typedef int H;
13   X<H> y;
14 }