summaryrefslogtreecommitdiff
path: root/test/SemaCXX/cxx11-ast-print.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-04-05 05:42:02 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-04-05 05:42:02 +0000
commit0a8e31a95737f20b2a2c72aef16830fead107dd2 (patch)
tree6a7d12d654df7ae35927e576584ce21a94e57530 /test/SemaCXX/cxx11-ast-print.cpp
parentfa50c3fd4e5c36ed6322a2b4d56683306ab478c3 (diff)
downloadclang-0a8e31a95737f20b2a2c72aef16830fead107dd2.tar.gz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/cxx11-ast-print.cpp')
-rw-r--r--test/SemaCXX/cxx11-ast-print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/cxx11-ast-print.cpp b/test/SemaCXX/cxx11-ast-print.cpp
index 9770e45fe2..27726dedb4 100644
--- a/test/SemaCXX/cxx11-ast-print.cpp
+++ b/test/SemaCXX/cxx11-ast-print.cpp
@@ -40,8 +40,8 @@ const char *p9 = 0x42e3F_fritz;
const char *p10 = 3.300e+15_fritz;
template <class C, C...> const char *operator"" _suffix();
-// CHECK: const char *PR23120 = operator "" _suffix<wchar_t, 66615>();
-const char *PR23120 = L"𐐷"_suffix;
+// CHECK: const char *PR23120 = operator "" _suffix<char32_t, 66615>();
+const char *PR23120 = U"𐐷"_suffix;
// CHECK: ;
;