]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/25_algorithms/stable_partition/moveable.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 25_algorithms / stable_partition / moveable.cc
index 9068ab134d139b83ee3d4c43fe866603b438d087..4ef52ee821c9b5713803e672084378fa4f6a31ef 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2009-2016 Free Software Foundation, Inc.
+// Copyright (C) 2009-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
@@ -51,8 +51,6 @@ struct Pred
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   rvalstruct s1[N];
   std::copy(A, A + N, s1);
   Container con(s1, s1 + N);
@@ -65,8 +63,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   rvalstruct s1[N2];
   std::copy(A2, A2 + N2, s1);
   Container con(s1, s1 + N2);