1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// RUN: cp %s %t 3// RUN: not %clang_cc1 -pedantic -Werror -fixit -x objective-c %t 4// RUN: %clang_cc1 -pedantic -Werror -x objective-c %t 5 6__attribute__((objc_root_class)) 7@interface NSObject 8@end 9 10@interface Foo : NSObject 11- (void)fooey; // expected-note{{method 'fooey' declared here}} 12@end 13 14@implementation Foo // expected-warning{{method definition for 'fooey' not found}} 15@end 16