]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/modifiers/swap.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 2_general_utilities / shared_ptr / modifiers / swap.cc
index 070abf11011e1fc5cc5a2e9d8e4f1e5d5a5da1a4..ee96666736b86c4268db8ab8f8f03f148b0c5e2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2014 Free Software Foundation, Inc.
+// Copyright (C) 2005-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
@@ -28,8 +28,6 @@ struct A { };
 int
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   A * const a1 = new A;
   A * const a2 = new A;
   std::tr1::shared_ptr<A> p1(a1);
@@ -41,7 +39,7 @@ test01()
   return 0;
 }
 
-int 
+int
 main()
 {
   test01();