Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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