summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/property-ivar-mismatch.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property-ivar-mismatch.m')
-rw-r--r--test/SemaObjC/property-ivar-mismatch.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/property-ivar-mismatch.m b/test/SemaObjC/property-ivar-mismatch.m
index ea3acfc..16ff338 100644
--- a/test/SemaObjC/property-ivar-mismatch.m
+++ b/test/SemaObjC/property-ivar-mismatch.m
@@ -3,12 +3,12 @@
@interface Test4
{
- char ivar;
+ char ivar; // expected-note{{ivar is declared here}}
}
@property int prop;
@end
@implementation Test4
-@synthesize prop = ivar; // expected-error {{type of property 'prop' does not match type of ivar 'ivar'}}
+@synthesize prop = ivar; // expected-error {{type of property 'prop' ('int') does not match type of ivar 'ivar' ('char')}}
@end
OpenPOWER on IntegriCloud