]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 29_atomics / headers / atomic / std_c++0x_neg.cc
index 97e55366faa5a042a5b3e03e296b65317924f0df..3ef626474c05fa2075a7964adf5886b76f013ec4 100644 (file)
@@ -1,7 +1,7 @@
-// { dg-do compile }
 // { dg-options "-std=gnu++98" }
+// { dg-do compile { target c++98_only } }
 
-// Copyright (C) 2008-2013 Free Software Foundation, Inc.
+// Copyright (C) 2008-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
@@ -18,9 +18,6 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-#include <atomic>  // { dg-excess-errors "In file included from" }
+#include <atomic>
 
 // { dg-error "ISO C.. 2011" "" { target *-*-* } 32 }
-
-
-