summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/attr-objc-exception.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/attr-objc-exception.m')
-rw-r--r--test/SemaObjC/attr-objc-exception.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/attr-objc-exception.m b/test/SemaObjC/attr-objc-exception.m
index b497271..dd8ac57 100644
--- a/test/SemaObjC/attr-objc-exception.m
+++ b/test/SemaObjC/attr-objc-exception.m
@@ -8,9 +8,9 @@ __attribute__((__objc_exception__))
@end
-__attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objective-C interface}}
+__attribute__((__objc_exception__)) // expected-error {{'__objc_exception__' attribute only applies to Objective-C interfaces}}
int X;
-__attribute__((__objc_exception__)) // expected-error {{attribute may only be applied to an Objective-C interface}}
+__attribute__((__objc_exception__)) // expected-error {{'__objc_exception__' attribute only applies to Objective-C interfaces}}
void foo();
OpenPOWER on IntegriCloud