summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-method-lookup.m
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-12-01 01:07:24 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-12-01 01:07:24 +0000
commit68500913ece9def8f11649fed41713d50e94728d (patch)
tree9b8b02fad900cd3b99dabfe01b73c20ff50875b3 /clang/test/SemaObjC/class-method-lookup.m
parentce81496fab8cea588631dded376a88de347c58f0 (diff)
downloadbcm5719-llvm-68500913ece9def8f11649fed41713d50e94728d.tar.gz
bcm5719-llvm-68500913ece9def8f11649fed41713d50e94728d.zip
When unknown method is sent to a receiver of
'Class' type, disgnostic should refere to a class method. Fixes // rdar://8592156 llvm-svn: 120517
Diffstat (limited to 'clang/test/SemaObjC/class-method-lookup.m')
-rw-r--r--clang/test/SemaObjC/class-method-lookup.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/class-method-lookup.m b/clang/test/SemaObjC/class-method-lookup.m
index f26d692328a..8c8c21682f1 100644
--- a/clang/test/SemaObjC/class-method-lookup.m
+++ b/clang/test/SemaObjC/class-method-lookup.m
@@ -20,7 +20,7 @@
[self rootInstanceMethod]; /* class is searched for an instance method */
[MyIntermediate rootInstanceMethod]; /* with the same name. */
- [self instanceMethod];// expected-warning {{'-instanceMethod' not found (return type defaults to 'id')}}
+ [self instanceMethod];// expected-warning {{'+instanceMethod' not found (return type defaults to 'id')}}
[MyDerived instanceMethod];// expected-warning {{'+instanceMethod' not found (return type defaults to 'id')}}
}
@end
OpenPOWER on IntegriCloud