// PR c++/96647 // { dg-do compile { target c++14 } } template struct Base { auto f(int) { } auto f(char) { } }; void (Base::*ptr)(int) = &Base::f;