From 56bedefe92ae8f604d14bea75cc3040ab32337c2 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 31 Aug 2010 23:34:27 +0000 Subject: 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 --- test/CodeGenCXX/uncode-string.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGenCXX/uncode-string.cpp (limited to 'test/CodeGenCXX/uncode-string.cpp') 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" -- cgit v1.2.3