brintos

brintos / llvm-project-archived public Read only

0
0
Text · 428 B · acc0896 Raw
16 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify %s2// RUN: cp %s %t3// RUN: not %clang_cc1 -pedantic -Werror -fixit -x objective-c %t4// RUN: %clang_cc1 -pedantic -Werror -x objective-c %t5 6__attribute__((objc_root_class))7@interface NSObject8@end9 10@interface Foo : NSObject11- (void)fooey;  // expected-note{{method 'fooey' declared here}}12@end13 14@implementation Foo  // expected-warning{{method definition for 'fooey' not found}}15@end16