blob: 1fd1d444a12879b8a50f1ab5c25be4ac5160ceb7 [file] [log] [blame]
Fariborz Jahanianb62f6812007-10-16 20:40:23 +00001// RUN: clang -verify %s
2
Steve Naroff84c43102009-02-11 20:43:13 +00003@interface Lancelot @end
4@implementation Lancelot
5
6- (void):(int)x {}
7- (void)xx:(int)x :(int)y { }
8
9@end
10
Fariborz Jahanianb62f6812007-10-16 20:40:23 +000011int main() {
12 SEL s = @selector(retain);
13 SEL s1 = @selector(meth1:);
14 SEL s2 = @selector(retainArgument::);
15 SEL s3 = @selector(retainArgument:::::);
16 SEL s4 = @selector(retainArgument:with:);
17 SEL s5 = @selector(meth1:with:with:);
18 SEL s6 = @selector(getEnum:enum:bool:);
19 SEL s7 = @selector(char:float:double:unsigned:short:long:);
20
21 SEL s9 = @selector(:enum:bool:);
22}