]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/time_get/get/char/2.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / time_get / get / char / 2.cc
index 1ea933df0e9de47cd5899fde28c8c7185420c358..a48c9222e024ab0a76881fb926e93e2c9f70c9aa 100644 (file)
@@ -1,9 +1,9 @@
-// { dg-require-namedlocale "de_DE.utf8" }
-// { dg-options " -std=gnu++11 " }
+// { dg-do run { target c++11 } }
+// { dg-require-namedlocale "de_DE.UTF-8" }
 
 // 2014-04-14 RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
 
-// Copyright (C) 2014-2015 Free Software Foundation, Inc.
+// Copyright (C) 2014-2020 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,7 +26,7 @@
 #include <sstream>
 #include <testsuite_hooks.h>
 
-#ifndef _GLIBCXX_ASSERT
+#ifdef TEST_TIMEGET_VERBOSE
 #  include <iostream>
 #  define PRINT(x) cout << #x << ": " << x << endl
 #  define TESTHEAD(x) cout << x << endl
 void test02()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   locale loc_c = locale::classic();
-  locale loc_de = locale("de_DE.utf8");
+  locale loc_de = locale("de_DE.UTF-8");
   VERIFY( loc_de != loc_c );
 
   istringstream iss;