llvm-project/clang/test/FixIt/fixit-objc-missing-method-i...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
428 B
Mathematica
Raw Normal View History

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