2 // { dg-options "-w -ansi -pedantic" }
4 // Contributed by Nathan Sidwell 23 Oct 2003 <nathan@codesourcery.com>
5 // Origin: grigory@stl.sarov.ru
6 // PR c++/12698. Duplicate covariant thunks emitted.
15 struct c2 : virtual c1, c0 { };
17 struct c6 : virtual c2, c0 {
21 struct c14 : virtual c2 { };
23 struct c19 : virtual ::c6 {
24 virtual class ::c14& f10() {};