URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [syntax-error-2.mm] - Rev 706
Go to most recent revision | Compare with Previous | Blame | View Log
/* Recover gracefully from a syntax error. */
@implementation Whatever /* { dg-warning "cannot find interface declaration for .Whatever." } */
- (void) function
{
if( 1 )
{
else /* { dg-error "expected .\}. before .else." } */
{
}
}
- (void) another {}
@end
Go to most recent revision | Compare with Previous | Blame | View Log