blob: e91e56786012b1f175e0336b0f4f4c86615bc5b2 (
plain)
1
2
3
4
5
6
7
8
|
// { dg-do assemble }
template <class X> class A { public: int a; X x; };
template <class X> X f (A<X> a) { return a.x; }
extern A<double> a_dbl;
double fred () { return f (a_dbl); }
|