diff options
Diffstat (limited to 'test/CodeGen/cfstring2.c')
-rw-r--r-- | test/CodeGen/cfstring2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/cfstring2.c b/test/CodeGen/cfstring2.c index 7b808b4aab..ceefeb9e83 100644 --- a/test/CodeGen/cfstring2.c +++ b/test/CodeGen/cfstring2.c @@ -1,7 +1,8 @@ // RUN: clang-cc -emit-llvm %s -o %t -#ifdef __APPLE__ -#include <Carbon/Carbon.h> +typedef const struct __CFString * CFStringRef; + +#define CFSTR(x) (CFStringRef) __builtin___CFStringMakeConstantString (x) void f() { CFSTR("Hello, World!"); @@ -10,4 +11,3 @@ void f() { // rdar://6151192 void *G = CFSTR("yo joe"); -#endif |