aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/typedef3.C
blob: 99076b4e625ddc9619609c03b1300667e12dbb65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
template<class T>
struct X{
  T v;
  X(){}
  virtual ~X(){}
  virtual inline T f(T x){return x;}
};

void f()
{
  typedef int H;
  X<H> y;
}