1// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - 2 3@interface Foo @end 4@interface GARF @end 5 6void foo() { 7 @try { TRY(); } 8 @catch (...) { SPLATCH(); @throw; } 9} 10 11int main() 12{ 13 14 @try { 15 MYTRY(); 16 } 17 18 @catch (Foo* localException) { 19 MYCATCH(); 20 @throw; 21 } 22 23 // no catch clause 24 @try { } 25 @finally { } 26} 27 28