diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-23 17:22:07 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-23 17:22:07 +0000 |
| commit | e459686aac87fd16a64d9f13dc6a2a07dc799e41 (patch) | |
| tree | 3cee131db2932d12ff0af3b7e052fa5a3d5da48f /clang/test/SemaObjC/continuation-class-err.m | |
| parent | 26a0f1cff9cb49c1cee32d3b6487b569e30cb638 (diff) | |
| download | bcm5719-llvm-e459686aac87fd16a64d9f13dc6a2a07dc799e41.tar.gz bcm5719-llvm-e459686aac87fd16a64d9f13dc6a2a07dc799e41.zip | |
Trying to improve on a diagnostics for properties.
llvm-svn: 102187
Diffstat (limited to 'clang/test/SemaObjC/continuation-class-err.m')
| -rw-r--r-- | clang/test/SemaObjC/continuation-class-err.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/continuation-class-err.m b/clang/test/SemaObjC/continuation-class-err.m index 214c4e5b30b..9c14d37cedc 100644 --- a/clang/test/SemaObjC/continuation-class-err.m +++ b/clang/test/SemaObjC/continuation-class-err.m @@ -12,7 +12,7 @@ @interface ReadOnly () @property(readwrite, copy) id object; // expected-warning {{property attribute in continuation class does not match the primary class}} -@property(readonly) id object1; // expected-error {{property declaration in continuation class of 'ReadOnly' is to change a 'readonly' property to 'readwrite'}} +@property(readonly) id object1; // expected-error {{illegal declaration of property in continuation class 'ReadOnly' - attribute must be}} @property (readwrite, assign) int indentLevel; // OK. assign the the default in any case. @end @@ -31,8 +31,8 @@ @end @interface Bar () -@property (copy) id foo; // expected-error {{property declaration in continuation class of 'Bar' is to change a 'readonly' property to 'readwrite'}} -@property (copy) id fee; // expected-error {{property declaration in continuation class of 'Bar' is to change a 'readonly' property to 'readwrite'}} +@property (copy) id foo; // expected-error {{illegal declaration of property in continuation class 'Bar' - attribute must be}} +@property (copy) id fee; // expected-error {{illegal declaration of property in continuation class 'Bar' - attribute must be}} @end @implementation Bar |

