blob: de192be67ecc5f14c7236a7d902d7e7f886d9428 [file] [log] [blame]
// PR c++/103455
struct A { };
struct B {
operator A*() const;
template<class T> operator T*() const;
};
typedef void (A::*F)();
void f(B b, F pmf) {
(b->*pmf)();
}