| 1 |
// PR c++/100893 |
| 2 |
|
| 3 |
template<class T, typename T::type F> void g() { } |
| 4 |
|
| 5 |
struct A { typedef void (*const type)(); }; |
| 6 |
void f(); |
| 7 |
template void g<A, &f>(); |
| 8 |
|
| 9 |
struct B { typedef void (B::*const type)(); void f(); }; |
| 10 |
template void g<B, &B::f>(); |