2 // { dg-options "-pedantic-errors -w" }
4 // Copyright (C) 2000 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 29 Nov 2001 <nathan@nathan@codesourcery.com>
8 // Although a direct base can be inaccessible due to ambiguity, that
9 // should not blow up synthesized methods.
12 struct B : A {int m;};
13 struct C : virtual A, B {int m;};
14 struct D : B, C {int m;};