Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth2.C
blob: 3094b8e55cb11c85364dd84a179757a654dbf46e [
file
] [
log
] [
blame
]
// PRMS Id: 4623
// Bug: g++ tries and fails to synthesize a copy constructor for D.
// Build don't link:
class
A
{
};
class
B
:
public
virtual
A
{
};
class
C
:
public
A
{
};
class
D
:
public
B
,
public
C
{
};
// gets bogus error - bad synthesis