URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [net22.C] - Rev 749
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-message "note" } called
};
int main() {
Child c( "String initializer" ); // { dg-error "match" } bad
// { dg-message "candidate" "candidate note" { target *-*-* } 12 }
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log