blob: 6bc3c80347dc5da3aa7ae2003eef26f4f85f2e45 [file] [log] [blame]
// PR c++/47589
// { dg-do compile }
struct F
{
typedef void(*Cb)();
F(Cb);
};
struct C
{
template<class D> static void f();
};
template<class D>
struct TF : F
{
TF() : F(C::f<D>) { }
};
struct DTC : TF<DTC>
{
DTC() { }
};