URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [net22.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
class Parent {
public:
Parent() {}
Parent( char *s ) {}
};
class Child : public Parent { // { dg-error "" } called
};
int main() {
Child c( "String initializer" ); // { dg-error "" } bad
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log