aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/undef-class-messagin-error.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/undef-class-messagin-error.m')
-rw-r--r--test/SemaObjC/undef-class-messagin-error.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/undef-class-messagin-error.m b/test/SemaObjC/undef-class-messagin-error.m
index 0a400dd39f..2a6d240840 100644
--- a/test/SemaObjC/undef-class-messagin-error.m
+++ b/test/SemaObjC/undef-class-messagin-error.m
@@ -4,10 +4,10 @@
+ (int) flashCache;
@end
-@interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'}}
+@interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'; did you mean '_Child'?}}
+ (int) flushCache2;
@end
-@implementation Child (Categ) // expected-error {{cannot find interface declaration for 'Child'}}
+@implementation OtherChild (Categ) // expected-error {{cannot find interface declaration for 'OtherChild'}}
+ (int) flushCache2 { [super flashCache]; } // expected-error {{no @interface declaration found in class messaging of 'flushCache2'}}
@end