public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [v3] libstdc++/30127 testsuite tweak
@ 2007-12-17 20:14 Benjamin Kosnik
  0 siblings, 0 replies; only message in thread
From: Benjamin Kosnik @ 2007-12-17 20:14 UTC (permalink / raw)
  To: gcc-patches, libstdc++

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

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

[-- Attachment #2: 20071217-1.patch --]
[-- Type: text/x-patch, Size: 676 bytes --]

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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-17 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 20:14 [v3] libstdc++/30127 testsuite tweak Benjamin Kosnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).