1 // Copyright (C) 2007 Free Software Foundation
2 // Contributed by Ollie Wild <aaw@google.com>
5 // Test implicit conversion of pointers to member functions appearing as
6 // operands of the equality operators.
12 struct D : B, virtual BV { };
20 void (BV::*pbv) () = 0;
24 pd == pbv; // { dg-error "" }
25 pd == pc; // { dg-error "comparison between distinct pointer-to-member types" }