1 // RUN: %clang_cc1 -x objective-c++ -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
5 extern "C" void *sel_registerName(const char *);
9 + (NSNumber *)numberWithChar:(char)value;
10 + (NSNumber *)numberWithInt:(int)value;
13 typedef unsigned long NSUInteger;
16 + (id)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt;
21 NSArray *array = @[ @"Hello", @1234 ];
23 NSArray *array = @[ @"Hello", @1234 ];
25 NSArray *array1 = @[ @"Hello", @1234, @[ @"Hello", @1234 ] ];