1/* RUN: cp %s %t 2 RUN: %clang_cc1 -x objective-c -Wselector-type-mismatch -fixit %t 3 RUN: %clang_cc1 -x objective-c -Wselector-type-mismatch -Werror %t 4*/ 5// rdar://16458579 6 7@interface I 8- (id) compare: (char) arg1; 9- length; 10@end 11 12@interface J 13- (id) compare: (id) arg1; 14@end 15 16SEL func() 17{ 18 (void)@selector( compare: ); 19 (void)@selector (compare:); 20 (void)@selector( compare:); 21 (void)@selector(compare: ); 22 (void)@selector ( compare: ); 23 return @selector(compare:); 24} 25 26 27