1// RUN: %clang_cc1 -verify %s 2 3@interface I 4- (id) compare: (char) arg1; 5- length; 6@end 7 8@interface J 9- (id) compare: (id) arg1; 10@end 11 12SEL func() 13{ 14 return @selector(compare:); // Non warning on multiple selector found. 15} 16 17int main() { 18 SEL s = @selector(retain); 19 SEL s1 = @selector(meth1:); 20 SEL s2 = @selector(retainArgument::); 21 SEL s3 = @selector(retainArgument:::::); 22 SEL s4 = @selector(retainArgument:with:); 23 SEL s5 = @selector(meth1:with:with:); 24 SEL s6 = @selector(getEnum:enum:bool:); 25 SEL s7 = @selector(char:float:double:unsigned:short:long:); 26 27 SEL s9 = @selector(:enum:bool:); 28} 29