summaryrefslogtreecommitdiff
path: root/clang/test/PCH/Inputs/chain-selectors1.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/Inputs/chain-selectors1.h')
-rw-r--r--clang/test/PCH/Inputs/chain-selectors1.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/PCH/Inputs/chain-selectors1.h b/clang/test/PCH/Inputs/chain-selectors1.h
new file mode 100644
index 0000000..b0b68f8
--- /dev/null
+++ b/clang/test/PCH/Inputs/chain-selectors1.h
@@ -0,0 +1,16 @@
+@interface X
+ -(void)f;
+ -(void)f2;
+ -(void)g:(int)p;
+ -(void)h:(int)p1 foo:(int)p2;
+@end
+
+void foo1() {
+ // FIXME: Can't verify warnings in headers
+ //(void)@selector(x);
+ (void)@selector(f);
+}
+
+@interface X (Blah)
+- (void)blah_method;
+@end