]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_streambuf / imbue / char / 13007-2.cc
index 58d4e119bfb1354b764b36114d548213964e5eaa..43bddb6130b28259666c7b1e0cd58dec35444bf9 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-require-namedlocale "en_US" }
+// { dg-require-namedlocale "en_US.ISO8859-1" }
 
-// Copyright (C) 2003-2014 Free Software Foundation, Inc.
+// Copyright (C) 2003-2023 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
@@ -43,10 +43,8 @@ protected:
 // libstdc++/13007
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   Buf2 buf;
-  std::locale loc(std::locale("en_US"));
+  std::locale loc(std::locale(ISO_8859(1,en_US)));
 
   buf.pubimbue(loc);