aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/property-category-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property-category-1.m')
-rw-r--r--test/SemaObjC/property-category-1.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/property-category-1.m b/test/SemaObjC/property-category-1.m
index 6382826080..fd2ae1165b 100644
--- a/test/SemaObjC/property-category-1.m
+++ b/test/SemaObjC/property-category-1.m
@@ -48,6 +48,6 @@ int main(int argc, char **argv) {
@implementation I0 // expected-warning {{property 'p0' requires method 'p0' to be define}}
- (void) foo {
- self.p0 = 0; // expected-error {{assigning to property with 'readonly' attribute not allowed}}
+ self.p0 = 0; // expected-error {{assignment to readonly property}}
}
@end