diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-31 23:34:27 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-08-31 23:34:27 +0000 |
commit | 56bedefe92ae8f604d14bea75cc3040ab32337c2 (patch) | |
tree | ae0d306ff9226272c0d7159373a9c9d7b1cb2056 /test/CodeGenCXX/uncode-string.cpp | |
parent | f6c09775819cf851d71750bfc056dfe39ce801e1 (diff) |
Some support for unicode string constants
in wide strings. radar 8360841.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/uncode-string.cpp')
-rw-r--r-- | test/CodeGenCXX/uncode-string.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGenCXX/uncode-string.cpp b/test/CodeGenCXX/uncode-string.cpp new file mode 100644 index 0000000000..e543149747 --- /dev/null +++ b/test/CodeGenCXX/uncode-string.cpp @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s +// rdar://8360841 + +wchar_t s[] = L"\u2722"; + +// CHECK: @s = global [8 x i8] c"\22'\00\00\00\00\00\00" |