// PR c++/100893 template void g() { } struct A { typedef void (*const type)(); }; void f(); template void g(); struct B { typedef void (B::*const type)(); void f(); }; template void g();