diff options
Diffstat (limited to 'test/SemaObjC/overriding-property-in-class-extension.m')
-rw-r--r-- | test/SemaObjC/overriding-property-in-class-extension.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaObjC/overriding-property-in-class-extension.m b/test/SemaObjC/overriding-property-in-class-extension.m index 8c0e1b98a572..77efd556928c 100644 --- a/test/SemaObjC/overriding-property-in-class-extension.m +++ b/test/SemaObjC/overriding-property-in-class-extension.m @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify -Weverything %s +// expected-no-diagnostics // rdar://12103434 @class NSString; @@ -7,7 +8,7 @@ @interface MyClass : NSObject -@property (nonatomic, copy, readonly) NSString* name; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} +@property (nonatomic, copy, readonly) NSString* name; @end |