summaryrefslogtreecommitdiff
path: root/test/SemaObjC/ivar-in-class-extension-error.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/ivar-in-class-extension-error.m')
-rw-r--r--test/SemaObjC/ivar-in-class-extension-error.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/ivar-in-class-extension-error.m b/test/SemaObjC/ivar-in-class-extension-error.m
index b22b7984cc2d..c90e4780688d 100644
--- a/test/SemaObjC/ivar-in-class-extension-error.m
+++ b/test/SemaObjC/ivar-in-class-extension-error.m
@@ -4,12 +4,12 @@
@interface A @end
@interface A () {
- int _p0; // expected-error {{ivars may not be placed in class extension}}
+ int _p0; // expected-error {{instance variables may not be placed in class extension}}
}
@property int p0;
@end
@interface A(CAT) {
- int _p1; // expected-error {{ivars may not be placed in categories}}
+ int _p1; // expected-error {{instance variables may not be placed in categories}}
}
@end