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++.jason/] [opeq6.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Testcase for wrongful generation of operator =.
class ivResource {
public:
ivResource ();
private:
ivResource & operator =(const ivResource &);
};
class ivButtonState : virtual public ivResource {
public:
void operator=(ivButtonState &);
};
class ivPrintBS : public ivButtonState {
};
void f ()
{
ivPrintBS a, b;
a = b;
}
Go to most recent revision | Compare with Previous | Blame | View Log