diff options
Diffstat (limited to 'test/SemaObjC/arc-no-runtime.m')
-rw-r--r-- | test/SemaObjC/arc-no-runtime.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/arc-no-runtime.m b/test/SemaObjC/arc-no-runtime.m index c5820d4..cc540f6 100644 --- a/test/SemaObjC/arc-no-runtime.m +++ b/test/SemaObjC/arc-no-runtime.m @@ -2,7 +2,7 @@ // rdar://problem/9150784 void test(void) { - __weak id x; // expected-error {{the current deployment target does not support automated __weak references}} + __weak id x; // expected-error {{cannot create __weak reference because the current deployment target does not support weak references}} __weak void *v; // expected-warning {{'__weak' only applies to Objective-C object or block pointer types}} } @@ -12,5 +12,5 @@ void test(void) { @implementation A // rdar://9605088 -@synthesize testObjectWeakProperty; // expected-error {{the current deployment target does not support automated __weak references}} +@synthesize testObjectWeakProperty; // expected-error {{cannot synthesize weak property because the current deployment target does not support weak references}} @end |