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
6 typedef unsigned long size_t;
18 BOOL which (int flag) {
19 return flag ? yes() : no();
28 void y(BOOL (^foo)());