// { dg-do assemble } template struct X{ T v; X(){} virtual ~X(){} virtual inline T f(T x){return x;} }; void f() { typedef int H; X y; }