blob: 8061ff72ba2c36d0b1d5f7e240cc148e202e1d30 [file] [log] [blame]
// PR c++/100893
template<class T, typename T::type F> void g() { }
struct A { typedef void (*const type)(); };
void f();
template void g<A, &f>();
struct B { typedef void (B::*const type)(); void f(); };
template void g<B, &B::f>();