| // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp |
| // RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -fexceptions -Wno-address-of-temporary -D"SEL=void*" -D"Class=struct objc_class *" -D"__declspec(X)=" %t-rw.cpp |
| typedef struct objc_object { |
| void *sel_registerName(const char *); |
| @synchronized (SYNCH_EXPR()) { |
| @synchronized ([sem self]) { |
| void test_sync_with_implicit_finally() { |
| return; // The rewriter knows how to generate code for implicit finally |
| @interface I : NSObject @end |