]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/6_containers/unordered_set/find/set1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 6_containers / unordered_set / find / set1.cc
index 67dd20546086c6779b095a31b134eda0de495f0e..bb60c8cb73e81011ff544f445c6c82af9d4b9f0b 100644 (file)
@@ -2,7 +2,7 @@
 
 // 2005-2-18  Matt Austern  <austern@apple.com>
 //
-// 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
@@ -28,8 +28,6 @@
 #include <tr1/unordered_set>
 #include "testsuite_hooks.h"
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::tr1::unordered_set<std::string> Set;
@@ -49,7 +47,7 @@ void test01()
   VERIFY(std::distance(p.first, p.second) == 1);
 
   Set::iterator i3 = s.find("lime");
-  VERIFY(i3 == s.end());  
+  VERIFY(i3 == s.end());
 
   std::pair<Set::iterator, Set::iterator> p2 = s.equal_range("lime");
   VERIFY(p2.first == p2.second);