Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreorder-1.C
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
()
{}
};