This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] static_members fix
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 11 Oct 2002 23:19:31 -0500
- Subject: [v3] static_members fix
tested x86/linux
2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/static_members.cc (test02): Fix.
Index: testsuite/22_locale/static_members.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/static_members.cc,v
retrieving revision 1.5
diff -c -p -r1.5 static_members.cc
*** testsuite/22_locale/static_members.cc 10 Oct 2002 05:15:29 -0000 1.5
--- testsuite/22_locale/static_members.cc 12 Oct 2002 04:18:34 -0000
*************** void test02()
*** 78,84 ****
const locale env_orig("");
// setlocale to en_PH
! string lc_all_ph = std::setlocale(LC_ALL, ph.c_str());
const locale loc_env("");
VERIFY( loc_env == env_orig );
--- 78,84 ----
const locale env_orig("");
// setlocale to en_PH
! std::setlocale(LC_ALL, ph.c_str());
const locale loc_env("");
VERIFY( loc_env == env_orig );