forked from OSchip/llvm-project
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
This commit is contained in:
parent
314b72f842
commit
9c2ad31abf
|
@ -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: ;
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue