Commit 38455b2b by Paolo Carlini Committed by Paolo Carlini

12352.cc: Use __gnu_test::try_named_locale.

2003-11-14  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/locale/cons/12352.cc: Use
	__gnu_test::try_named_locale.

From-SVN: r73602
parent 262cc585
2003-11-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12352.cc: Use
__gnu_test::try_named_locale.
2003-11-14 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/howto.html: Add entries for DR 63, 75
and 305; tweak entries for DR 60 and 328.
......
......@@ -22,6 +22,7 @@
#include <locale>
#include <cstdlib>
#include <cstring>
#include <testsuite_hooks.h>
int times_to_fail = 0;
......@@ -100,7 +101,7 @@ void test01(int iters)
times_to_fail = i;
try
{
std::locale loc1("");
std::locale loc1 = __gnu_test::try_named_locale("");
std::locale loc2(loc1, std::locale::classic(),
std::locale::numeric);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment