Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / Inputs / arc.h
blob5d8dea183de6636bb61dd65a1cac3317b62a0201
1 // Header for Objective-C ARC-related PCH tests
3 typedef const void *CFTypeRef;
4 typedef const struct __CFString *CFStringRef;
6 CFTypeRef CFCreateSomething(void);
7 CFStringRef CFCreateString(void);
8 CFTypeRef CFGetSomething(void);
9 CFStringRef CFGetString(void);
11 @interface NSString
12 @end
14 id CreateSomething(void);
15 NSString *CreateNSString(void);
17 #if __has_feature(objc_arc)
18 #define BRIDGE __bridge
19 #else
20 #define BRIDGE
21 #endif
23 typedef int array0[sizeof((BRIDGE id)CFCreateSomething())];
24 typedef int array1[sizeof((BRIDGE CFTypeRef)CreateSomething())];