]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / shared_ptr / assign / auto_ptr_neg.cc
index 19a73a1d8f29371632a23615379c50c31ea4ca8b..429e18deb22ad2c4454e261f1a032b62ce5e93cb 100644 (file)
@@ -1,7 +1,9 @@
 // { dg-options "-Wno-deprecated" }
+// { dg-add-options using-deprecated }
 // { dg-do compile { target c++11 } }
+// { dg-require-effective-target hosted }
 
-// Copyright (C) 2005-2019 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
@@ -39,7 +41,7 @@ test01()
   return 0;
 }
 
-int 
+int
 main()
 {
   test01();
@@ -47,3 +49,4 @@ main()
 }
 
 // { dg-prune-output "cannot convert" }
+// { dg-prune-output "enable_if" }