aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
index a0445adb2af..21d1aed7f08 100644
--- a/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
+++ b/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/2.cc
@@ -1,4 +1,4 @@
-// { dg-require-namedlocale "en_US.ISO-8859-1" }
+// { dg-require-namedlocale "en_US.ISO8859-1" }
// 2003-02-06 Petur Runolfsson <peturr02@ru.is>
@@ -41,7 +41,7 @@ zero_state(std::mbstate_t& state)
// Required instantiation
// codecvt<wchar_t, char, mbstate_t>
//
-// Baseline test for ISO-8859-1. Converts entire charset.
+// Baseline test for ISO8859-1. Converts entire charset.
void test02()
{
using namespace std;
@@ -90,7 +90,7 @@ void test02()
wmemset(i_ref, 0xdeadbeef, size + 1);
int_type* ito_next;
- locale loc = locale("en_US.ISO-8859-1");
+ locale loc = locale(ISO_8859(1,en_US));
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);