blob: 82da9f8b9c816da76b6e283ff0fd1f76df4f604e [file] [log] [blame]
// { 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;
}