1 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"__declspec(X)=" %t-rw.cpp
4 typedef unsigned long size_t;
16 BOOL which (int flag) {
17 return flag ? yes() : no();
26 void y(BOOL (^foo)());