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