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