summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/mrc-weak.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/mrc-weak.m')
-rw-r--r--clang/test/SemaObjC/mrc-weak.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/mrc-weak.m b/clang/test/SemaObjC/mrc-weak.m
index af7081b53f8..e5f407c9d84 100644
--- a/clang/test/SemaObjC/mrc-weak.m
+++ b/clang/test/SemaObjC/mrc-weak.m
@@ -62,6 +62,6 @@ void test_unsafe_unretained_cast(id *value) {
void test_cast_qualifier_inference(__weak id *value) {
__weak id *a = (id*) value;
- __unsafe_unretained id *b = (id *)value; // expected-error {{initializing '__unsafe_unretained id *' with an expression of type '__weak id *' changes retain/release properties of pointer}}
+ __unsafe_unretained id *b = (id *)value; // expected-error {{initializing 'id *' with an expression of type '__weak id *' changes retain/release properties of pointer}}
}
OpenPOWER on IntegriCloud