diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2003-04-11 17:48:51 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2003-04-11 17:48:51 +0000 |
commit | 6df0c1b4608fd21d9849c2b7fcb6f9b3aeefb193 (patch) | |
tree | 8fe8611f018ae0fcc318fb2e32e60eaef5c0df98 | |
parent | d67b7799de179c70692ad576cec6d2182cdf58bc (diff) | |
download | gcc-6df0c1b4608fd21d9849c2b7fcb6f9b3aeefb193.zip gcc-6df0c1b4608fd21d9849c2b7fcb6f9b3aeefb193.tar.gz gcc-6df0c1b4608fd21d9849c2b7fcb6f9b3aeefb193.tar.bz2 |
3.cc (test03): Use the classic locale to construct this hybrid locale, not the global locale.
2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
locale to construct this hybrid locale, not the global locale.
From-SVN: r65469
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 28bcb20..577de69 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2003-04-11 Benjamin Kosnik <bkoz@redhat.com> + * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic + locale to construct this hybrid locale, not the global locale. + +2003-04-11 Benjamin Kosnik <bkoz@redhat.com> + * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add instantiation for AIX. * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc index fb3a75d..0b56b5c 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc @@ -40,8 +40,8 @@ void test03() for (int i = 0; i < 256; ++i) maskdata[i] = std::ctype_base::alpha; std::ctype<char>* f = new std::ctype<char>(maskdata); - std::locale global; - std::locale loc(global, f); + std::locale loc_c = std::locale::classic(); + std::locale loc(loc_c, f); for (int i = 0; i < 256; ++i) { char_type ch = i; |