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
This commit is contained in:
Paolo Carlini 2003-11-14 11:52:46 +00:00 committed by Paolo Carlini
parent 262cc585e4
commit 38455b2b8b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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);
}