blob: de192be67ecc5f14c7236a7d902d7e7f886d9428 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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)();
}
|