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:
parent
057dc81f82
commit
4c275e83dd
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue