]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / manipulators / extended / put_money / wchar_t / 1.cc
index 38348687ae26ee90e581de1dc3f47e17869dca43..3f5800b64f8109e69bd71ffa792befa405804b06 100644 (file)
@@ -1,9 +1,9 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-namedlocale "de_DE@euro" }
+// { dg-do run { target c++11 } }
+// { dg-require-namedlocale "de_DE.ISO8859-15" }
 
 // 2010-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
 
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010-2024 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
@@ -26,9 +26,7 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
-  std::locale loc_de = std::locale("de_DE@euro");
+  std::locale loc_de = std::locale(ISO_8859(15,de_DE));
 
   std::wostringstream oss;
   oss.imbue(loc_de);