commit | f366d51179f775531c88c7040f00cecc58cdffd0 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Fri May 08 23:45:49 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Fri May 08 23:45:49 2009 +0000 |
tree | 4915d602b759924635cacf8cc8ce18e568d3d495 | |
parent | 9daf29a87644c97f4219a8f7f6fe035fb0372be3 [diff] [blame] |
We want to diagnose sending message to a forward class and we also want to tell which message is actually being sent. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71296 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/forward-class-receiver.m b/test/SemaObjC/forward-class-receiver.m index 8353f39..ebba0fd 100644 --- a/test/SemaObjC/forward-class-receiver.m +++ b/test/SemaObjC/forward-class-receiver.m
@@ -1,7 +1,7 @@ // RUN: clang-cc -fsyntax-only -verify %s @interface I -+ new; ++ new; // expected-note {{method 'new' is used for the forward class}} @end Class isa;