(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
overload/
builtin6.C
// 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)();
}