URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [crash5.C] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options "-w" }
class QString { // { dg-error "previous definition" }
QString (const QString & a); // { dg-message "QString::QString|candidate expects" }
};
class QString { }; // { dg-error "redefinition" }
const QString q () {
QString z; // { dg-error "matching" }
// { dg-message "candidate" "candidate note" { target *-*-* } 10 }
int x;
return x ? QString () : QString (); // { dg-error "matching" }
// { dg-message "candidate" "candidate note" { target *-*-* } 13 }
}
Go to most recent revision | Compare with Previous | Blame | View Log