Skip tests that depend on the cxx11 std::string

* testsuite/21_strings/basic_string/init-list.cc:
	Require cxx11-abi.
	* testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc:
	Likewise.
	* testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc:
	Likewise.

From-SVN: r263800
This commit is contained in:
Jonathan Wakely 2018-08-23 09:26:16 +01:00 committed by Jonathan Wakely
parent 6ab6c0c3bb
commit 75224273c3
4 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,12 @@
2018-08-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/21_strings/basic_string/init-list.cc:
Require cxx11-abi.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc:
Likewise.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc:
Likewise.
* testsuite/23_containers/deque/capacity/max_size.cc: Fix test for
C++98 mode.
* testsuite/23_containers/deque/modifiers/assign/1.cc: Likewise.

View File

@ -17,6 +17,7 @@
//
// { dg-do run { target c++11 } }
// { dg-require-effective-target cxx11-abi }
#include <testsuite_hooks.h>

View File

@ -16,6 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++14 } }
// { dg-require-effective-target cxx11-abi }
#include <experimental/regex>

View File

@ -16,6 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++14 } }
// { dg-require-effective-target cxx11-abi }
#include <experimental/string>