URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [syntax-error-7.mm] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */
@interface Foo
-(void) someMethod;
@end
@implementation Foo
-(void)
-(void) someMethod /* { dg-error "expected before .-." } */
{
}
@end /* { dg-warning "incomplete implementation of class" } */
/* { dg-warning "method definition for ..someMethod. not found" "" { target *-*-* } 12 } */
Go to most recent revision | Compare with Previous | Blame | View Log