]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/map/erasure.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / map / erasure.cc
index 078d1297404894009a59afbc98c124e9aa31d0cc..1015c69f9f7e2a81fb1d21cac925d73825b9de8d 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-do run { target c++20 } }
+// { dg-add-options no_pch }
 
-// Copyright (C) 2018-2023 Free Software Foundation, Inc.
+// Copyright (C) 2018-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,8 +19,6 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <map>
-#include <string>
-#include <testsuite_hooks.h>
 
 #ifndef __cpp_lib_erase_if
 # error "Feature-test macro for erase_if missing in <map>"
@@ -27,6 +26,9 @@
 # error "Feature-test macro for erase_if has wrong value in <map>"
 #endif
 
+#include <string>
+#include <testsuite_hooks.h>
+
 auto is_odd_pair = [](const std::pair<const int, std::string>& p)
 {
   return p.first % 2 != 0;