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