]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/unique_ptr/assign/move.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / unique_ptr / assign / move.cc
index 0bdccf6f0876fecd2e82c3750248c6fedf2bd87a..26de4bf1af3101471dbf044d0cbd5f8217bc5b94 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++0x" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-2021 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 D : public B {};
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   D *d = new D;
   std::unique_ptr<D> p1(d);
   std::unique_ptr<D> p2(new D);