1// { dg-do assemble } 2// Bug: default operator= is not being generated properly. 3// PRMS Id: 3525 4 5struct ccUnwind 6{ 7 ccUnwind& operator = (const ccUnwind&); 8}; 9 10struct ccEllipseUnit 11{ 12 ccEllipseUnit () {} 13}; 14 15struct ccEllipse : ccUnwind 16{ 17 ccEllipse (); 18 ccEllipse (const ccEllipseUnit&); 19 20}; 21 22void foo () 23{ 24 ccEllipse e; 25 e = ccEllipseUnit(); // { dg-bogus "" } assignment not defined 26} 27