libstdc++: Make tests with Undefined Behavior in C++11 UNSUPPORTED

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/array/debug/back1_neg.cc: Target c++14 because assertion
	is disabled in C++11.
	* testsuite/23_containers/array/debug/front1_neg.cc: Likewise.
	* testsuite/23_containers/array/debug/square_brackets_operator1_neg.cc: Likewise.
This commit is contained in:
François Dumont 2020-12-14 22:21:47 +01:00
parent 057dc81f82
commit 4c275e83dd
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>