* 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
// 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()
{
VERIFY( err11 == ios_base::goodbit );
}
+
// test double/wstring versions
void test02()
{
VERIFY( result3 == digits4 );
VERIFY( err03 == ios_base::goodbit );
}
+#endif
int main()
{
+#ifdef _GLIBCPP_USE_WCHAR_T
test01();
test02();
+#endif
return 0;
}