diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2022-01-14 16:21:02 +0100 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2022-01-14 16:21:57 +0100 |
commit | 6795e6ae66096d52a62e20ed33a47599233ab3d5 (patch) | |
tree | c7abd57a8d0874b7955935e4ff0914f7d892007e | |
parent | 0dd4283a4be8407a8ab720a913c84a21f3ece615 (diff) | |
download | gcc-6795e6ae66096d52a62e20ed33a47599233ab3d5.zip gcc-6795e6ae66096d52a62e20ed33a47599233ab3d5.tar.gz gcc-6795e6ae66096d52a62e20ed33a47599233ab3d5.tar.bz2 |
libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test
The test fails on Fedora 33+ because nl_NL locale got thousands
separator defined. Use one of ar_SA, bg_BG, bs_BA, pt_PT
or plain C locale instead.
2022-01-14 Uroš Bizjak <ubizjak@gmail.com>
libstdc++-v3/ChangeLog:
* testsuite/22_locale/numpunct/members/char/3.cc:
Require pt_PT locale instead of nl_NL.
(test02): Use pt_PT locale instead of nl_NL.
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc index 6e49598..19b65d3 100644 --- a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc +++ b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc @@ -1,4 +1,4 @@ -// { dg-require-namedlocale "nl_NL.ISO8859-15" } +// { dg-require-namedlocale "pt_PT.ISO8859-15" } // 2001-01-24 Benjamin Kosnik <bkoz@redhat.com> @@ -28,8 +28,8 @@ void test02() { using namespace std; - // nl_NL chosen because it has no thousands separator (at this time). - locale loc_it = locale(ISO_8859(15,nl_NL)); + // pt_PT chosen because it has no thousands separator (at this time). + locale loc_it = locale(ISO_8859(15,pt_PT)); const numpunct<char>& nump_it = use_facet<numpunct<char> >(loc_it); |