1/* { dg-do compile } */
2
3@interface Foo
4-(void) someMethod;
5@end
6
7@implementation Foo
8-(void)
9-(void) someMethod /* { dg-error "expected before .-." } */
10{
11}
12@end /* { dg-warning "incomplete implementation of class" } */
13/* { dg-warning "method definition for ..someMethod. not found" "" { target *-*-* } .-1 } */
14