From: bkoz Date: Fri, 14 Sep 2001 22:13:11 +0000 (+0000) Subject: 2001-09-14 Benjamin Kosnik X-Git-Tag: upstream/4.9.2~92069 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dd5a240f877895473f2a725ad45b2018afa1f89;p=platform%2Fupstream%2Flinaro-gcc.git 2001-09-14 Benjamin Kosnik * config/locale/moneypunct_members_gnu.cc: Fix initialization of wchar_t members. * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file. * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45615 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc b/libstdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc index 5062e01..da8fdfd 100644 --- a/libstdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc +++ b/libstdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc @@ -27,6 +27,7 @@ // XXX This test is not working for non-glibc locale models. // { dg-do run { xfail *-*-* } } +#ifdef _GLIBCPP_USE_WCHAR_T // test string version void test01() { @@ -183,6 +184,7 @@ void test01() VERIFY( err11 == ios_base::goodbit ); } + // test double/wstring versions void test02() { @@ -270,10 +272,13 @@ void test02() VERIFY( result3 == digits4 ); VERIFY( err03 == ios_base::goodbit ); } +#endif int main() { +#ifdef _GLIBCPP_USE_WCHAR_T test01(); test02(); +#endif return 0; }