diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-18 21:22:49 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-18 21:22:49 +0000 |
| commit | d945ce5fb72002ea5cb0a4c1531ae5d7bd2cecba (patch) | |
| tree | f4b076c3141177bd4e8b89b61d69351a02672c72 /clang/test/SemaObjC/continuation-class-err.m | |
| parent | b686a2cebd4399bdaf1e4b425dc817ac05c6c636 (diff) | |
| download | bcm5719-llvm-d945ce5fb72002ea5cb0a4c1531ae5d7bd2cecba.tar.gz bcm5719-llvm-d945ce5fb72002ea5cb0a4c1531ae5d7bd2cecba.zip | |
objc: use "class extension" instead of "continuation class"
to match documentation. // rdar://11309706
llvm-svn: 157074
Diffstat (limited to 'clang/test/SemaObjC/continuation-class-err.m')
| -rw-r--r-- | clang/test/SemaObjC/continuation-class-err.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaObjC/continuation-class-err.m b/clang/test/SemaObjC/continuation-class-err.m index d691f124e8a..9da97dcd78e 100644 --- a/clang/test/SemaObjC/continuation-class-err.m +++ b/clang/test/SemaObjC/continuation-class-err.m @@ -11,8 +11,8 @@ @end @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 redeclaration of property in continuation class 'ReadOnly' (attribute must be 'readwrite', while its primary must be 'readonly')}} +@property(readwrite, copy) id object; // expected-warning {{property attribute in class extension does not match the primary class}} +@property(readonly) id object1; // expected-error {{illegal redeclaration of property in class extension 'ReadOnly' (attribute must be 'readwrite', while its primary must be 'readonly')}} @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 redeclaration of property in continuation class 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}} -@property (copy) id fee; // expected-error {{illegal redeclaration of property in continuation class 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}} +@property (copy) id foo; // expected-error {{illegal redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}} +@property (copy) id fee; // expected-error {{illegal redeclaration of property in class extension 'Bar' (attribute must be 'readwrite', while its primary must be 'readonly')}} @end @implementation Bar |

