blob: 940ef4a464f7114217a81e967bd15ba0460245d9 [file] [log] [blame]
// { dg-options "-Wreorder -W" }
struct S {
S ();
};
struct T {
T ();
};
struct U : virtual public S, virtual public T {
U () : T (), S () {} // { dg-warning "" }
U (const U&) : S () {}
};