remove #include of system header, making this a) not apple specific, and
b) test dramatically faster.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69135 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/cfstring2.c b/test/CodeGen/cfstring2.c
index 7b808b4..ceefeb9 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 @@
// rdar://6151192
void *G = CFSTR("yo joe");
-#endif