1 // { dg-do assemble } 2 // GROUPS passed operators 3 // opr-eq file 4 // Message-Id: <9301141514.AA05925@mi.el.utwente.nl> 5 // From: klamer@mi.el.utwente.nl (Klamer Schutte) 6 // Subject: 2.3.3: failed to detect error 7 // Date: Thu, 14 Jan 93 16:14:21 +0100 8 9 class B 10 { 11 public: 12 operator=(B &); // { dg-error "" } no type or storage class 13 }; 14 15 void test(B & b1,const B & b2)16test(B &b1, const B &b2) 17 { 18 b1 = b2;// { dg-error "" } .* 19 } 20