24 lines · plain
1// RUN: %clang_cc1 -verify -Wno-objc-root-class %s2 3@interface ClassA4 5- (void)fileExistsAtPath:(int)x;6 7@end8 9@interface ClassB10 11@end12 13@implementation ClassB // expected-note {{implementation started here}}14 15- (void) method:(ClassA *)mgr { // expected-note {{to match this '{'}}16 [mgr fileExistsAtPath:017} // expected-error {{expected ']'}}18 19@interface ClassC // \20 // expected-error {{missing '@end'}} \21 // expected-error {{expected '}'}}22 23@end24