1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do assemble } // Bug: g++ tries to generate an op= for DbmItem and fails. class RefCount{ public: RefCount(); private: RefCount& operator=(const RefCount); }; class DbmItem: public RefCount{ public: DbmItem(): RefCount() {} };