2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / opeq2.C
blob2d448a23cf0f37921eb0ccd479b0eca5dd792a9a
1 // { dg-do assemble  }
2 // Bug: default operator= is not being generated properly.
3 // PRMS Id: 3525
5 struct ccUnwind 
7     ccUnwind& operator = (const ccUnwind&);
8 };
10 struct ccEllipseUnit
11
12     ccEllipseUnit () {}
15 struct ccEllipse : ccUnwind  
16 {   
17     ccEllipse ();
18     ccEllipse (const ccEllipseUnit&);
22 void foo ()
24     ccEllipse e;
25     e = ccEllipseUnit();        // { dg-bogus "" } assignment not defined