From 9c2ad31abf11692bfdad5f3e976d22eb49c7cf57 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Sun, 5 Apr 2015 05:42:02 +0000 Subject: [PATCH] Switch test from wchar_t to char32_t Windows has a 16-bit wchar_t, most Unix platforms have a 32-bit wchar_t. Use a char32_t to keep the test's output stable. llvm-svn: 234111 --- clang/test/SemaCXX/cxx11-ast-print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/SemaCXX/cxx11-ast-print.cpp b/clang/test/SemaCXX/cxx11-ast-print.cpp index 9770e45fe27f..27726dedb496 100644 --- a/clang/test/SemaCXX/cxx11-ast-print.cpp +++ b/clang/test/SemaCXX/cxx11-ast-print.cpp @@ -40,8 +40,8 @@ const char *p9 = 0x42e3F_fritz; const char *p10 = 3.300e+15_fritz; template const char *operator"" _suffix(); -// CHECK: const char *PR23120 = operator "" _suffix(); -const char *PR23120 = L"𐐷"_suffix; +// CHECK: const char *PR23120 = operator "" _suffix(); +const char *PR23120 = U"𐐷"_suffix; // CHECK: ; ;