2 // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -fixit %t
3 // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -Werror %t
6 @interface NSObject @end
8 @interface LogoutController : NSObject
11 - (void) open : (id) file_id;
14 @implementation LogoutController
21 return @selector(cloze);
23 - (void) open : (id) file_id {}
27 return @selector(ope:);
33 @interface rdar7853549 : NSObject
37 @implementation rdar7853549
38 - (int) bounds { return 0; }
39 - (void)PrivateMeth { int bounds = [self bonds]; }
40 - (void)OtherPrivateMeth : (id) p { int bounds = [p bonds]; }