2 // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -Wno-int-conversion -fixit %t
3 // RUN: %clang_cc1 -x objective-c -Wundeclared-selector -Wno-int-conversion -Werror %t
5 @interface NSObject @end
7 @interface LogoutController : NSObject
10 - (void) open : (id) file_id;
13 @implementation LogoutController
20 return @selector(cloze);
22 - (void) open : (id) file_id {}
26 return @selector(ope:);
31 @interface rdar7853549 : NSObject
35 @implementation rdar7853549
36 - (int) bounds { return 0; }
37 - (void)PrivateMeth { int bounds = [self bonds]; }
38 - (void)OtherPrivateMeth : (id) p { int bounds = [p bonds]; }