diff options
author | Paolo Carlini <pcarlini@suse.de> | 2003-11-14 11:52:46 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-11-14 11:52:46 +0000 |
commit | 38455b2b8b7175b479eb13292b55010521a92ddc (patch) | |
tree | ac11c20d16ca93e03e6e695776f35cc9b85f55bb | |
parent | 262cc585e42396aa1fa1fc57ef534ef26b90df57 (diff) | |
download | gcc-38455b2b8b7175b479eb13292b55010521a92ddc.zip gcc-38455b2b8b7175b479eb13292b55010521a92ddc.tar.gz gcc-38455b2b8b7175b479eb13292b55010521a92ddc.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 54c1bed..d3f91a6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 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. diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc index 06e7e0d..b58f61b 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc @@ -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); } |