]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/6_containers/unordered_map/erase/24061-map.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 6_containers / unordered_map / erase / 24061-map.cc
index dd0ecfcd07869c0150d334d8aa1dae51dde26c50..b6d3e83c59679bebc2e4bd2a5b5f3b6f60489b4d 100644 (file)
@@ -1,6 +1,6 @@
-// 2005-10-08  Paolo Carlini  <pcarlini@suse.de> 
+// 2005-10-08  Paolo Carlini  <pcarlini@suse.de>
 //
-// Copyright (C) 2005-2015 Free Software Foundation, Inc.
+// Copyright (C) 2005-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
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::tr1::unordered_map<std::string, int> Map;
   typedef Map::iterator       iterator;
   typedef Map::const_iterator const_iterator;
   typedef Map::value_type     value_type;
-  
+
   Map m1;
 
   m1.insert(value_type("all the love in the world", 1));
@@ -44,7 +42,7 @@ void test01()
   m1.insert(value_type("with teeth", 7));
   m1.insert(value_type("only", 8));
   m1.insert(value_type("getting smaller", 9));
-  m1.insert(value_type("sunspots", 10)); 
+  m1.insert(value_type("sunspots", 10));
   VERIFY( m1.size() == 10 );
 
   iterator it1 = m1.begin();
@@ -97,7 +95,7 @@ void test01()
   VERIFY( it13 == it12 );
   VERIFY( it13 == m1.begin() );
 }
-  
+
 int main()
 {
   test01();