aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-01-28 19:08:09 +0000
committerDouglas Gregor <dgregor@apple.com>2013-01-28 19:08:09 +0000
commit4581d45405f07374770366be8644d52733985833 (patch)
tree7029a4d003b59a528ae17d641e5c2bac22a2ba60 /test/ARCMT
parent20c6f2eae500242d3aef5daaa55d440a0786a1fd (diff)
Forbid the use of objects in unions in Objective-C++ ARC. Fixes
<rdar://problem/13098104>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ARCMT')
-rw-r--r--test/ARCMT/checking.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ARCMT/checking.m b/test/ARCMT/checking.m
index 9fd50029d0..a5c364a058 100644
--- a/test/ARCMT/checking.m
+++ b/test/ARCMT/checking.m
@@ -117,7 +117,7 @@ void test1(A *a, BOOL b, struct UnsafeS *unsafeS) {
}
struct S {
- A* a; // expected-error {{ARC forbids Objective-C objects in structs or unions}}
+ A* a; // expected-error {{ARC forbids Objective-C objects of type 'A *__strong' in struct}}
};
@interface B