diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-04 18:44:26 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-04 18:44:26 +0000 |
| commit | f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3 (patch) | |
| tree | fc94905c91f8fd799168541e125c0d63c113d067 /clang/test/SemaObjC/continuation-class-property.m | |
| parent | 83e84faa8f0104f5eb4a963b3eba456b5004e4ba (diff) | |
| download | bcm5719-llvm-f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3.tar.gz bcm5719-llvm-f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3.zip | |
objc: Turn diagnostic on property type mismatch in
continuation class into warning. // rdar://10231514
llvm-svn: 141100
Diffstat (limited to 'clang/test/SemaObjC/continuation-class-property.m')
| -rw-r--r-- | clang/test/SemaObjC/continuation-class-property.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/continuation-class-property.m b/clang/test/SemaObjC/continuation-class-property.m index d017ac23dce..a579184060b 100644 --- a/clang/test/SemaObjC/continuation-class-property.m +++ b/clang/test/SemaObjC/continuation-class-property.m @@ -38,6 +38,6 @@ typedef struct { @end @interface MyClass () -@property (readwrite) NSString *foo; // expected-error {{type of property 'NSString *' in continuation class does not match property type in primary class}} -@property (readwrite, strong) NSRect bar; // expected-error {{type of property 'NSRect' in continuation class does not match property type in primary class}} +@property (readwrite) NSString *foo; // expected-warning {{type of property 'NSString *' in continuation class does not match property type in primary class}} +@property (readwrite, strong) NSRect bar; // expected-warning {{type of property 'NSRect' in continuation class does not match property type in primary class}} @end |

