blob: 8c6d08f2e01d60378a2bd642e5bfc7d4d487d198 [file] [log] [blame]
// RUN: clang-cc -rewrite-objc %s -o=-
@interface Foo @end
@interface GARF @end
void foo() {
@try { TRY(); }
@catch (...) { SPLATCH(); @throw; }
}
int main()
{
@try {
MYTRY();
}
@catch (Foo* localException) {
MYCATCH();
@throw;
}
// no catch clause
@try { }
@finally { }
}