blob: 26bd4bc1867f7602108bb596c9dbbe1a4299ae05 [file] [log] [blame]
// { dg-do assemble }
template<class P> struct B
{
template<class T> void f(T& t) { t = T(); }
};
enum ptype { t1, t2};
struct D : public B<ptype>
{
void g(double& d) { f(d); }
};
D d;