]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref_2.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / shared_ptr / cons / unique_ptr_deleter_ref_2.cc
index 4a0a33b7ea9d001165ecc453267f46be5d6ae4bc..987e7dea5b327c3937fa3265aa507b2294c92190 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-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
@@ -39,8 +39,6 @@ struct D {
 int
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   D d;
   std::unique_ptr<A, D&> p1(new A, d);