commit | 9f8f026fc1cd1aa2942a2850a037398415128f8a | [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 | 484c7cad9bf5caefd3b0912aa778457fd46c2804 [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;