]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 29_atomics / atomic_integral / operators / bitwise_neg.cc
index dcea4cfaa11973f2a58a6aeab41c13d242f1ce05..d66c79b4f971a6a3a50d7e4042523faf3f5ceb64 100644 (file)
@@ -1,25 +1,24 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-do compile }
 // -*- C++ -*-
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+
+// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
 // published by the Free Software Foundation; either version 3, or (at
 // your option) any later version.
+
 // This library is distributed in the hope that it will be useful, but
 // WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // General Public License for more details.
+
 // You should have received a copy of the GNU General Public License
 // along with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
-#include <cstdatomic>
+
+#include <atomic>
 #include <testsuite_common_types.h>
 
 int main()
@@ -28,7 +27,10 @@ int main()
   return 0;
 }
 
-// { dg-error "operator" "" { target *-*-* } 404 }
-// { dg-error "operator" "" { target *-*-* } 405 }
-// { dg-error "operator" "" { target *-*-* } 406 }
-// { dg-excess-errors "In file included from" }
+// { dg-error "deleted" "" { target *-*-* } 469 }
+// { dg-error "deleted" "" { target *-*-* } 470 }
+// { dg-error "operator" "" { target *-*-* } 471 }
+// { dg-error "operator" "" { target *-*-* } 472 }
+// { dg-error "operator" "" { target *-*-* } 473 }
+
+// { dg-prune-output "declared here" }