URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p5469a.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// prms-id: 5469
int count;
class A {
A();
A(const A&);
public:
A(int) { ++count; }
~A() { --count; }
int operator== (const A& r) { return 1; }
};
int main() {
{
A a (1);
if (a == 2 || a == 1)
;
}
return count;
}
Go to most recent revision | Compare with Previous | Blame | View Log