Fix _GLIBCXX_DEBUG tests static_assert lines

Message ID 66d5cc6f-7550-49cb-6e3b-92e1dac50fb5@gmail.com
State New
Headers show
Series
  • Fix _GLIBCXX_DEBUG tests static_assert lines
Related show

Commit Message

François Dumont Dec. 9, 2019, 8:43 a.m.
When applying:

2019-11-26  François Dumont  <fdumont@gcc.gnu.org>

     * include/debug/array (array<>::fill): Add C++20 constexpr.
     (array<>::swap): Likewise.

I forgot to adapt some line numbers.

Committed as trivial.

François

Patch

diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc
index 3c60a435491..a4b199c23e3 100644
--- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc
+++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/get_debug_neg.cc
@@ -27,6 +27,6 @@  int n1 = std::get<1>(a);
 int n2 = std::get<1>(std::move(a));
 int n3 = std::get<1>(ca);
 
-// { dg-error "static assertion failed" "" { target *-*-* } 294 }
-// { dg-error "static assertion failed" "" { target *-*-* } 303 }
-// { dg-error "static assertion failed" "" { target *-*-* } 311 }
+// { dg-error "static assertion failed" "" { target *-*-* } 295 }
+// { dg-error "static assertion failed" "" { target *-*-* } 304 }
+// { dg-error "static assertion failed" "" { target *-*-* } 312 }
diff --git a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc
index a6b44eb57fe..59e728c4a37 100644
--- a/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc
+++ b/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc
@@ -22,4 +22,4 @@ 
 
 typedef std::tuple_element<1, std::array<int, 1>>::type type;
 
-// { dg-error "static assertion failed" "" { target *-*-* } 376 }
+// { dg-error "static assertion failed" "" { target *-*-* } 377 }