blob: 7776838c9eb25fb5e0e59bd00a1204e74e55c757 [file] [log] [blame]
Alex Lorenz812012f2017-06-19 17:53:21 +00001// RUN: %clang_cc1 -verify -Wno-objc-root-class %s
2
3@interface ClassA
4
5- (void)fileExistsAtPath:(int)x;
6
7@end
8
9@interface ClassB
10
11@end
12
13@implementation ClassB // expected-note {{implementation started here}}
14
15- (void) method:(ClassA *)mgr { // expected-note {{to match this '{'}}
16 mgr fileExistsAtPath:0
17} // expected-error {{expected ']'}}
18
19@interface ClassC // expected-error {{missing '@end'}} // expected-error {{expected '}'}}
20
21@end