------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-08 16:30 ------- Oh, I copied the wrong testcase. Anyways here is the testcase which fails: struct A { void f() { } }; struct B: public A { }; struct C: public A { }; struct D : public B, public C { };
typedef void (C::*cp)(); typedef void (D::*dp)(); int main() { cp c; dp d2 = c; } pmf6.C:12: error: statement types mismatch d2D.1741.__pfnD.1734 = D.1742; DD.1726:: * CD.1724:: * -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22369