DIAG(err_objc_protocol_optional, ERROR,
"@optional may be specified in protocols only")
DIAG(err_missing_catch_finally, ERROR,
- "@try statment without a @catch and @finally clause")
+ "@try statement without a @catch and @finally clause")
DIAG(err_objc_concat_string, ERROR,
"unexpected token after Objective-C string")
DIAG(err_undef_superclass, ERROR,
}
}
- @try { // expected-error {{@try statment without a @catch and @finally clause}}
+ @try { // expected-error {{@try statement without a @catch and @finally clause}}
return proc();
}
}
void bar()
{
- @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+ @try {}// expected-error {{@try statement without a @catch and @finally clause}}
@"s"; // expected-warning {{result unused}}
}
void baz()
{
- @try {}// expected-error {{@try statment without a @catch and @finally clause}}
+ @try {}// expected-error {{@try statement without a @catch and @finally clause}}
@try {}
@finally {}
}