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.
This commit is contained in:
parent
b4cdc2a3d3
commit
8e56e4d956
@ -16,7 +16,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
|
||||
// { dg-do run { target c++11 xfail *-*-* } }
|
||||
// { dg-do run { target c++14 xfail *-*-* } }
|
||||
|
||||
#include <array>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
|
||||
// { dg-do run { target c++11 xfail *-*-* } }
|
||||
// { dg-do run { target c++14 xfail *-*-* } }
|
||||
|
||||
#include <array>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
|
||||
// { dg-do run { target c++11 xfail *-*-* } }
|
||||
// { dg-do run { target c++14 xfail *-*-* } }
|
||||
|
||||
#include <array>
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
// mode as it requires acquiring 2 locks at the same time.
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
#include <functional>
|
||||
#include <testsuite_hooks.h>
|
||||
|
Loading…
Reference in New Issue
Block a user