-// Copyright (C) 2003 Free Software Foundation, Inc.
+// { dg-require-namedlocale "" }
+
+// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
//
// 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
fbout.close();
wfilebuf fbin;
- locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
+ locale loc(locale("en_US.UTF-8"));
fbin.pubimbue(loc);
fbin.pubsetbuf(0, 0);
fbin.open(name_04, ios_base::in);