DIAG(warn_objc_throw_expects_object, WARNING,
"invalid %0 argument (expected an ObjC object type)")
DIAG(error_rethrow_used_outside_catch, ERROR,
- "‘@throw’ (rethrow) used outside of a @catch block")
+ "@throw (rethrow) used outside of a @catch block")
// C++ casts
int foo() {
@throw 42; // expected-warning {{invalid 'int' argument (expected an ObjC object type)}}
- @throw; // expected-error {{‘@throw’ (rethrow) used outside of a @catch block}}
+ @throw; // expected-error {{@throw (rethrow) used outside of a @catch block}}
}