URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [operators9.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed operators
// opr-eq file
// Message-Id: <9301141514.AA05925@mi.el.utwente.nl>
// From: klamer@mi.el.utwente.nl (Klamer Schutte)
// Subject: 2.3.3: failed to detect error
// Date: Thu, 14 Jan 93 16:14:21 +0100
class B
{
public:
operator=(B &); // { dg-error "" } no type or storage class
};
void
test(B &b1, const B &b2)
{
b1 = b2;// { dg-error "" } .*
}
Go to most recent revision | Compare with Previous | Blame | View Log