blob: 940ef4a464f7114217a81e967bd15ba0460245d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { 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 () {}
};
|