]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/6_containers/unordered_set/insert/24061-set.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 6_containers / unordered_set / insert / 24061-set.cc
index f5cb099384cf117dcb2187623b22ad3c369c71a6..bd4226107a9e3edc3ca3f1e0a204503935f88ed5 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, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005-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
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::tr1::unordered_set<std::string> Set;
   typedef Set::iterator       iterator;
   typedef Set::const_iterator const_iterator;
 
   Set s1;
-  
+
   iterator it1 = s1.insert(s1.begin(), "all the love in the world");
   VERIFY( s1.size() == 1 );
   VERIFY( *it1 == "all the love in the world" );
-  
+
   const_iterator cit1(it1);
   const_iterator cit2 = s1.insert(cit1, "you know what you are?");
   VERIFY( s1.size() == 2 );
@@ -49,7 +47,7 @@ void test01()
   VERIFY( it2 == it1 );
   VERIFY( *it2 == "all the love in the world" );
 }
-  
+
 int main()
 {
   test01();