summaryrefslogtreecommitdiffstats
path: root/test/Parser/selector-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/selector-1.m')
-rw-r--r--test/Parser/selector-1.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Parser/selector-1.m b/test/Parser/selector-1.m
new file mode 100644
index 0000000..85ef919
--- /dev/null
+++ b/test/Parser/selector-1.m
@@ -0,0 +1,14 @@
+// RUN: clang-cc -parse-noop %s
+
+int main() {
+ SEL s = @selector(retain);
+ SEL s1 = @selector(meth1:);
+ SEL s2 = @selector(retainArgument::);
+ SEL s3 = @selector(retainArgument:::::);
+ SEL s4 = @selector(retainArgument:with:);
+ SEL s5 = @selector(meth1:with:with:);
+ SEL s6 = @selector(getEnum:enum:bool:);
+ SEL s7 = @selector(char:float:double:unsigned:short:long:);
+
+ SEL s9 = @selector(:enum:bool:);
+}
OpenPOWER on IntegriCloud