OSDN Git Service

2003-04-14 Andreas Tobler <toa@pop.agri.ch>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 22_locale / numpunct / members / wchar_t / 1.cc
index ac4e820..e3426fd 100644 (file)
@@ -31,9 +31,9 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_us("en_US");
-  locale loc_fr("fr_FR");
-  locale loc_de("de_DE");
+  locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
+  locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
+  locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
   VERIFY( loc_c != loc_de );
   VERIFY( loc_us != loc_fr );
   VERIFY( loc_us != loc_de );