Objective-C [qoi]: Improve on diagnostic when a method used
in an @selector expression has no implementation.
// rdar://14002507
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182812 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/PCH/chain-selectors.m b/test/PCH/chain-selectors.m
index 7eae094..f2bfc4b 100644
--- a/test/PCH/chain-selectors.m
+++ b/test/PCH/chain-selectors.m
@@ -18,9 +18,9 @@
// FIXME: Can't verify notes in headers
//[a f2];
- (void)@selector(x); // expected-warning {{unimplemented selector}}
- (void)@selector(y); // expected-warning {{unimplemented selector}}
- (void)@selector(e); // expected-warning {{unimplemented selector}}
+ (void)@selector(x); // expected-warning {{creating selector for nonexistent method 'x'}}
+ (void)@selector(y); // expected-warning {{creating selector for nonexistent method 'y'}}
+ (void)@selector(e); // expected-warning {{creating selector for nonexistent method 'e'}}
}
@implementation X (Blah)