]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/unordered_set/56267-2.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / unordered_set / 56267-2.cc
index 827cb202baa76c2a44afeff893fa036a5b66cae7..a6810af34677656f605251acd0b1beff6048dbb7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2016 Free Software Foundation, Inc.
+// Copyright (C) 2014-2023 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
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 
 #include <unordered_set>
 
@@ -25,6 +25,8 @@ struct audrey2hash : std::hash<int>
 
   audrey2hash(int) { }
 
+  audrey2hash(const audrey2hash&) = default;
+
   audrey2hash&
   operator=(const audrey2hash&) { throw "Don't assign the plants"; }
 };