3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 04 Mar 2002 <nathan@codesourcery.com>
5 // Jason Merrill <jason@redhat.com>
8 struct B: private A {};
15 void f (int B::*) {} // should choose this, even though it's ill-formed
16 void f (C) {} // even though this would be well-formed
20 f (aip); // { dg-error "'A' is an inaccessible base of 'B'|conversion" }