URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.martin/] [pure1.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
class A
{
public:
virtual void f(void) = 0; // pure virtual function.
A() {f();} // { dg-warning "const" } called in a constructor
~A() {f();} // { dg-warning "destr" } called in a destructor
};
Go to most recent revision | Compare with Previous | Blame | View Log