blob: 59717c30793b61a82d976ef2b67fdd34f2eaadec [file] [log] [blame]
Fariborz Jahanianf807c202007-10-16 20:40:23 +00001// RUN: clang -verify %s
2
3typedef struct objc_selector *SEL;
4
5int main() {
6 SEL s = @selector(retain);
7 SEL s1 = @selector(meth1:);
8 SEL s2 = @selector(retainArgument::);
9 SEL s3 = @selector(retainArgument:::::);
10 SEL s4 = @selector(retainArgument:with:);
11 SEL s5 = @selector(meth1:with:with:);
12 SEL s6 = @selector(getEnum:enum:bool:);
13 SEL s7 = @selector(char:float:double:unsigned:short:long:);
14
15 SEL s9 = @selector(:enum:bool:);
16}