summaryrefslogtreecommitdiff
path: root/test/SemaObjC/warn-deprecated-implementations.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/warn-deprecated-implementations.m')
-rw-r--r--test/SemaObjC/warn-deprecated-implementations.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaObjC/warn-deprecated-implementations.m b/test/SemaObjC/warn-deprecated-implementations.m
index 7bcd10cc3e061..60da7b0c41dc7 100644
--- a/test/SemaObjC/warn-deprecated-implementations.m
+++ b/test/SemaObjC/warn-deprecated-implementations.m
@@ -26,7 +26,8 @@ __attribute__((deprecated))
@implementation CL // expected-warning {{Implementing deprecated class}}
@end
-@implementation CL ( SomeCategory ) // expected-warning {{Implementing deprecated category}}
+@implementation CL ( SomeCategory ) // expected-warning {{'CL' is deprecated}} \
+ // expected-warning {{Implementing deprecated category}}
@end
@interface CL_SUB : CL // expected-warning {{'CL' is deprecated}}