aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/property.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property.m')
-rw-r--r--test/SemaObjC/property.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/property.m b/test/SemaObjC/property.m
index 5a119c798c..cf2624f820 100644
--- a/test/SemaObjC/property.m
+++ b/test/SemaObjC/property.m
@@ -17,8 +17,8 @@
@implementation I
@synthesize d1; // expected-error {{synthesized property 'd1' must either be named the same as}}
@dynamic bad; // expected-error {{property implementation must have its declaration in interface 'I'}}
-@synthesize prop_id; // expected-error {{synthesized property 'prop_id' must either be named the same}}
-@synthesize prop_id = IVAR; // expected-error {{type of property 'prop_id' does not match type of ivar 'IVAR'}}
+@synthesize prop_id; // expected-error {{synthesized property 'prop_id' must either be named the same}} // expected-note {{previous declaration is here}}
+@synthesize prop_id = IVAR; // expected-error {{type of property 'prop_id' does not match type of ivar 'IVAR'}} // expected-error {{property 'prop_id' is already implemented}}
@synthesize name; // OK! property with same name as an accessible ivar of same name
@end