diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-23 17:52:02 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-23 17:52:02 +0000 |
commit | 055117640dabf88e4e7d35e72c98a5f3bbdac256 (patch) | |
tree | 465193d1777c4b83d31b85b0431fe119326a7406 /test | |
parent | 2bb5ddaff86ee73d2cea7ec1835978afc88a83f0 (diff) |
Improve on my previous diagnostics: per Doug's comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/SemaObjC/continuation-class-err.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaObjC/continuation-class-err.m b/test/SemaObjC/continuation-class-err.m index 9c14d37ced..252518239f 100644 --- a/test/SemaObjC/continuation-class-err.m +++ b/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 {{illegal declaration of property in continuation class 'ReadOnly' - attribute must be}} +@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 {{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}} +@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 |