summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/objc-property-3.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/objc-property-3.m')
-rw-r--r--clang/test/Sema/objc-property-3.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/objc-property-3.m b/clang/test/Sema/objc-property-3.m
index 565a006fe44..dd45ab43f49 100644
--- a/clang/test/Sema/objc-property-3.m
+++ b/clang/test/Sema/objc-property-3.m
@@ -9,7 +9,7 @@
@end
@interface NOW : I
-@property (readonly, retain) id d1; // expected-warning {{attribute 'readonly' of property 'd1' restricts attribute 'readwrite' of 'I' property in super class}} expected-warning {{property 'd1' 'copy' attribute does not match super class 'I' property}}
-@property (readwrite, copy) I* d2; // expected-warning {{property type 'I *' does not match super class 'I' property type}}
+@property (readonly, retain) id d1; // expected-warning {{attribute 'readonly' of property 'd1' restricts attribute 'readwrite' of property inherited from 'I'}} expected-warning {{property 'd1' 'copy' attribute does not match the property inherited from'I'}}
+@property (readwrite, copy) I* d2; // expected-warning {{property type 'I *' does not match property type inherited from 'I'}}
@end
OpenPOWER on IntegriCloud