1// PR c++/525 2// Bug: With -pedantic, we weren't converting this to B1* for the call. 3 4struct A 5{ 6 void f(); 7}; 8 9struct B1: public A {}; 10struct B2: public A {}; 11 12struct C: public B1, public B2 13{ 14 void g() { B1::f(); }; 15}; 16