]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
collate_wchar_t_members.cc: Guard with _GLIBCPP_USE_WCHAR_T.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 23 Aug 2001 04:50:55 +0000 (04:50 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 23 Aug 2001 04:50:55 +0000 (04:50 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/collate_wchar_t_members.cc

index 947980243669255b2668c9a5af04d8689a98e598..b275626aef64561951fd9c4701f6f39aacf4f1bc 100644 (file)
@@ -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.
index c60f8bb2be1650686b4605c32f4b6aeb187b4f44..445096cc23fddddd9d2d77863a89addbd8c89232 100644 (file)
@@ -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;
 }
 
 
 
+