diff options
Diffstat (limited to 'test/SemaObjC/tentative-property-decl.m')
-rw-r--r-- | test/SemaObjC/tentative-property-decl.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/tentative-property-decl.m b/test/SemaObjC/tentative-property-decl.m index f69ac6dace43..aa7df5294a8a 100644 --- a/test/SemaObjC/tentative-property-decl.m +++ b/test/SemaObjC/tentative-property-decl.m @@ -14,7 +14,7 @@ @class NSString; @interface MyClass : Super -@property(nonatomic, copy, readonly) NSString *prop; +@property(nonatomic, copy, readonly) NSString *prop; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} @property(nonatomic, copy, readonly) id warnProp; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} @end @@ -29,7 +29,7 @@ @protocol P -@property(nonatomic, copy, readonly) NSString *prop; +@property(nonatomic, copy, readonly) NSString *prop; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} @property(nonatomic, copy, readonly) id warnProp; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} @end |