summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/2009-08-05-utf16.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/2009-08-05-utf16.m')
-rw-r--r--clang/test/CodeGenObjC/2009-08-05-utf16.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/2009-08-05-utf16.m b/clang/test/CodeGenObjC/2009-08-05-utf16.m
new file mode 100644
index 0000000..06458e7
--- /dev/null
+++ b/clang/test/CodeGenObjC/2009-08-05-utf16.m
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -emit-llvm -w -x objective-c %s -o - | FileCheck %s
+// rdar://7095855 rdar://7115749
+
+// CHECK: internal unnamed_addr constant [6 x i16] [i16 105, i16 80, i16 111, i16 100, i16 8482, i16 0], align 2
+void *P = @"iPod™";