This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]