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