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; }