This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] libstdc++/30127 testsuite tweak
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 17 Dec 2007 13:57:47 -0600
- Subject: [v3] libstdc++/30127 testsuite tweak
FAIL: 22_locale/global_templates/standard_facet_hierarchies.cc
execution test
Construct byname facet with "C" argument, as this is safe even in
generic locales.
tested x86/linux generic locales
-benjamin
2007-12-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/global_templates/
standard_facet_hierarchies.cc: Fix for generic locale model.
Index: testsuite/22_locale/global_templates/standard_facet_hierarchies.cc
===================================================================
--- testsuite/22_locale/global_templates/standard_facet_hierarchies.cc (revision 131011)
+++ testsuite/22_locale/global_templates/standard_facet_hierarchies.cc (working copy)
@@ -36,7 +36,7 @@
locale loc_c = locale::classic();
locale loc_base = loc_c;
- locale loc_derived(loc_c, new derived_facet(""));
+ locale loc_derived(loc_c, new derived_facet("C"));
bool b;