Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
()
{}
};