aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/no-ivar-in-interface-block.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/no-ivar-in-interface-block.m')
-rw-r--r--test/SemaObjC/no-ivar-in-interface-block.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/SemaObjC/no-ivar-in-interface-block.m b/test/SemaObjC/no-ivar-in-interface-block.m
index ce98586306..897f7d863b 100644
--- a/test/SemaObjC/no-ivar-in-interface-block.m
+++ b/test/SemaObjC/no-ivar-in-interface-block.m
@@ -1,13 +1,13 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -Winterface-block-ivar %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Winterface-ivars %s
// rdar://10763173
@interface I
{
- @protected int P_IVAR; // expected-warning {{declaration of ivar in the interface block is deprecated}}
+ @protected int P_IVAR; // expected-warning {{declaration of ivars in the interface is deprecated}}
- @public int PU_IVAR; // expected-warning {{declaration of ivar in the interface block is deprecated}}
+ @public int PU_IVAR; // expected-warning {{declaration of ivars in the interface is deprecated}}
- @private int PRV_IVAR; // expected-warning {{declaration of ivar in the interface block is deprecated}}
+ @private int PRV_IVAR; // expected-warning {{declaration of ivars in the interface is deprecated}}
}
@end