1 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
4 extern "C" void *sel_registerName(const char *);
5 typedef unsigned long size_t;
7 typedef unsigned long NSUInteger;
8 typedef struct _NSRange {
15 - (NSRange)rangeAtIndex:(NSUInteger)rangeIndex;
21 @implementation NSArray
22 - (NSArray *)objectsAtIndexes:(NSIndexSet *)iset {
25 NSRange range = [iset rangeAtIndex:ridx];