libstdc++: Fix several _GLIBCXX_DEBUG tests
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 12 Dec 2020 17:02:47 +0000 (18:02 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 14 Dec 2020 06:46:25 +0000 (07:46 +0100)
commit8e56e4d9566ce99707befa88bf4d11c74ec45c10
tree8b934b12921143e2c468aa1231ba5608bcd0697f
parentb4cdc2a3d332b6d350fa7d334c28d54544c7777e
libstdc++: Fix several _GLIBCXX_DEBUG tests

libstdc++-v3/ChangeLog:

* testsuite/23_containers/array/debug/back2_neg.cc: target c++14 because assertion
for constexpr is disabled in C++11.
* testsuite/23_containers/array/debug/front2_neg.cc: Likewise.
* testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc: Likewise.
* testsuite/23_containers/vector/debug/multithreaded_swap.cc: Include <memory>
for shared_ptr.
libstdc++-v3/testsuite/23_containers/array/debug/back2_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/front2_neg.cc
libstdc++-v3/testsuite/23_containers/array/debug/square_brackets_operator2_neg.cc
libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc