1// Header for Objective-C ARC-related PCH tests 2 3typedef const void *CFTypeRef; 4typedef const struct __CFString *CFStringRef; 5 6CFTypeRef CFCreateSomething(); 7CFStringRef CFCreateString(); 8CFTypeRef CFGetSomething(); 9CFStringRef CFGetString(); 10 11@interface NSString 12@end 13 14id CreateSomething(); 15NSString *CreateNSString(); 16 17#if __has_feature(objc_arc) 18#define BRIDGE __bridge 19#else 20#define BRIDGE 21#endif 22 23typedef int array0[sizeof((BRIDGE id)CFCreateSomething())]; 24typedef int array1[sizeof((BRIDGE CFTypeRef)CreateSomething())]; 25 26 27