// PR c++/47589 // { dg-do compile } struct F { typedef void(*Cb)(); F(Cb); }; struct C { template static void f(); }; template struct TF : F { TF() : F(C::f) { } }; struct DTC : TF { DTC() { } };