Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
ctor11.C
blob: 486f58aa95cbbd1dc2c81058973e77417575c52f [
file
] [
log
] [
blame
]
// PR c++/49569
struct
A
{
virtual
void
f
()
=
0
;
};
struct
B
:
A
{
int
i
;
virtual
void
f
()
{
}
};
struct
C
{
B b
;
C
():
b
()
{
}
C
(
const
B
&
b
):
b
(
b
)
{
}
};