URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash68.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-w -O" }
// GROUPS passed old-abort
class RWDlist
{
public:
RWDlist& operator=(const RWDlist&);
};
class DataItemRWGDlist : public RWDlist {};
class Base {};
class DataItemList : public Base
{
private:
DataItemRWGDlist m_diList;
};
class StatementGroup
{
public:
DataItemList dataItemList;
StatementGroup(const StatementGroup&);
};
StatementGroup::StatementGroup(const StatementGroup& sg)
{
dataItemList = sg.dataItemList;
}