URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Bug: default operator= is not being generated properly.
|
// Bug: default operator= is not being generated properly.
|
// PRMS Id: 3525
|
// PRMS Id: 3525
|
|
|
struct ccUnwind
|
struct ccUnwind
|
{
|
{
|
ccUnwind& operator = (const ccUnwind&);
|
ccUnwind& operator = (const ccUnwind&);
|
};
|
};
|
|
|
struct ccEllipseUnit
|
struct ccEllipseUnit
|
{
|
{
|
ccEllipseUnit () {}
|
ccEllipseUnit () {}
|
};
|
};
|
|
|
struct ccEllipse : ccUnwind
|
struct ccEllipse : ccUnwind
|
{
|
{
|
ccEllipse ();
|
ccEllipse ();
|
ccEllipse (const ccEllipseUnit&);
|
ccEllipse (const ccEllipseUnit&);
|
|
|
};
|
};
|
|
|
void foo ()
|
void foo ()
|
{
|
{
|
ccEllipse e;
|
ccEllipse e;
|
e = ccEllipseUnit(); // { dg-bogus "" } assignment not defined
|
e = ccEllipseUnit(); // { dg-bogus "" } assignment not defined
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.