]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/money_get/get/char/16.cc
testsuite_hooks.cc: Remove try_named_locale.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / money_get / get / char / 16.cc
index c4a2011e776b55ddd242603593291bda1d129767..4ff6fd0d9bce2f97fafcbe5ed0be029deb5f8b54 100644 (file)
@@ -1,6 +1,8 @@
+// { dg-require-namedlocale "" }
+
 // 2004-03-02  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -34,8 +36,8 @@ void test01()
 
   // basic construction
   locale loc_c = locale::classic();
-  locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
-  locale loc_hk = __gnu_test::try_named_locale("en_HK");
+  locale loc_de = locale("de_DE@euro");
+  locale loc_hk = locale("en_HK");
   VERIFY( loc_hk != loc_de );
   VERIFY( loc_c != loc_hk );