1 // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -fexceptions -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
4 typedef struct objc_class *Class;
5 typedef struct objc_object {
9 extern int printf(const char *, ...);
18 printf("executing try");
21 printf("executing finally");
23 printf("executing after finally block");
26 printf("executing try");
28 printf("executing finally");
33 void test2_try_with_implicit_finally(void) {
45 @interface NSException
56 @catch (NSException *e) {