SHA256
1
0
forked from pool/llvm
llvm/glibc-2.24-libcxx.patch

23 lines
1.0 KiB
Diff

Index: libcxx-3.8.1.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
===================================================================
--- libcxx-3.8.1.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp.orig
+++ libcxx-3.8.1.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
@@ -113,7 +113,7 @@ int main()
{
Fnf f(LOCALE_ru_RU_UTF_8, 1);
- assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1");
+ assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1" || f.curr_symbol() == " \u20bd");
}
{
Fnt f(LOCALE_ru_RU_UTF_8, 1);
@@ -121,7 +121,7 @@ int main()
}
{
Fwf f(LOCALE_ru_RU_UTF_8, 1);
- assert(f.curr_symbol() == L" \x440\x443\x431");
+ assert(f.curr_symbol() == L" \x440\x443\x431" || f.curr_symbol() == L" \u20bd");
}
{
Fwt f(LOCALE_ru_RU_UTF_8, 1);