collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T.
2001-08-22 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T. From-SVN: r45118
This commit is contained in:
parent
0d58773799
commit
0bab15bb70
|
@ -1,3 +1,8 @@
|
|||
2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/22_locale/collate_wchar_t_members.cc: Guard
|
||||
with _GLIBCPP_USE_WCHAR_T.
|
||||
|
||||
2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/22_locale/collate_byname.cc (test01): Fix.
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
// XXX This may not work for non-glibc locale models.
|
||||
// { dg-do run { xfail *-*-* } }
|
||||
|
||||
#ifdef _GLIBCPP_USE_WCHAR_T
|
||||
void test01()
|
||||
{
|
||||
using namespace std;
|
||||
|
@ -128,13 +128,16 @@ void test01()
|
|||
i2 = coll_de.compare(strlit3, strlit3 + size3, strlit4, strlit4 + size4);
|
||||
VERIFY(i1 == i2);
|
||||
}
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
#if _GLIBCPP_USE_WCHAR_T
|
||||
test01();
|
||||
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue