blob: d0c6d2acf67d1bc5692db8e7f3b5bb7f6fa77cd1 [file] [log] [blame]
// RUN: %clang_cc1 -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 { }
}