aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/synthesized-ivar.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/synthesized-ivar.m')
-rw-r--r--test/SemaObjC/synthesized-ivar.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/synthesized-ivar.m b/test/SemaObjC/synthesized-ivar.m
index 884a3caf0f64..d25175f40c75 100644
--- a/test/SemaObjC/synthesized-ivar.m
+++ b/test/SemaObjC/synthesized-ivar.m
@@ -57,5 +57,5 @@ int f0(I *a) { return a->IP; } // expected-error {{instance variable 'IP' is pri
@implementation A
// rdar://9605088
-@synthesize testObjectWeakProperty; // expected-error {{@synthesize of 'weak' property is only allowed in ARC or GC mode}}
+@synthesize testObjectWeakProperty; // expected-error {{cannot synthesize weak property because the current deployment target does not support weak references}}
@end