aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/cfstring2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/cfstring2.c')
-rw-r--r--test/CodeGen/cfstring2.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/cfstring2.c b/test/CodeGen/cfstring2.c
new file mode 100644
index 0000000000..605b9d5d41
--- /dev/null
+++ b/test/CodeGen/cfstring2.c
@@ -0,0 +1,13 @@
+// RUN: clang -emit-llvm %s -o %t
+
+#ifdef __APPLE__
+#include <Carbon/Carbon.h>
+
+void f() {
+ CFSTR("Hello, World!");
+}
+
+// rdar://6248329
+void *G = CFSTR("yo joe");
+
+#endif