1 // RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" -emit-llvm -o %t %t-rw.cpp
5 void *sel_registerName(const char *);
13 - (void)enumerateProvidersWithBlock:(void (^)(void))block {
17 - (void)providerEnumerator {
18 ^(void (^providerBlock)(void)) {
19 [self enumerateProvidersWithBlock:providerBlock];
23 - (void)testNilBlock {
24 [self enumerateProvidersWithBlock:0];
31 int main(int argc, char *argv[]) {