3 // Copyright (C) 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 27 Dec 2002 <nathan@codesourcery.com>
10 struct c1 : virtual c0
12 virtual c0 &f2() volatile;
20 struct c3 : virtual c0, virtual c1, c2
22 virtual c1 &f2() volatile;
25 struct c4 : virtual c3, virtual c0, virtual c1
30 struct c6 : c0, c3, c4
31 { // { dg-warning "direct base" "" }
32 virtual c1 &f2() volatile;