Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth2.C
blob: 5e420913f3352c53c0f2dbf983506df2c38a5bed [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 4623
// Bug: g++ tries and fails to synthesize a copy constructor for D.
class
A
{
};
class
B
:
public
virtual
A
{
};
class
C
:
public
A
{
};
class
D
:
public
B
,
public
C
{
};
// { dg-bogus "" } bad synthesis