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] Fix testcase for 12438 to use try_named_locale


Hi,

sorry! Tested x86-linux, committed.

Paolo.

///////////
2003-10-02  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/locale/cons/12438.cc: Use
	__gnu_test::try_named_locale("").
diff -urN libstdc++-v3-orig/testsuite/22_locale/locale/cons/12438.cc libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc
--- libstdc++-v3-orig/testsuite/22_locale/locale/cons/12438.cc	2003-09-30 13:39:22.000000000 +0200
+++ libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc	2003-10-02 14:06:45.000000000 +0200
@@ -42,7 +42,7 @@
       try
 	{
 	  locale loc1 = locale::classic();
-	  locale loc2("");
+	  locale loc2 = __gnu_test::try_named_locale("");
 	  VERIFY( !has_facet<MyFacet>(loc2) );
 	  
 	  loc1.combine<MyFacet>(loc2);

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