libstdc++: Disable std::forward_list tests for C++98 mode
These tests fail with -std=gnu++98/-D_GLIBCXX_DEBUG in the runtest flags. They should require the c++11 effective target. libstdc++-v3/ChangeLog: * testsuite/23_containers/forward_list/debug/iterator1_neg.cc: Skip as UNSUPPORTED for C++98 mode. * testsuite/23_containers/forward_list/debug/iterator3_neg.cc: Likewise.
This commit is contained in:
parent
83cae6c4b7
commit
cd9964b7e2
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
// with this library; see the file COPYING3. If not see
|
// with this library; see the file COPYING3. If not see
|
||||||
// <http://www.gnu.org/licenses/>.
|
// <http://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
// { dg-do run { xfail *-*-* } }
|
// { dg-do run { target c++11 xfail *-*-* } }
|
||||||
// { dg-require-debug-mode "" }
|
// { dg-require-debug-mode "" }
|
||||||
|
|
||||||
#include <forward_list>
|
#include <forward_list>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
// with this library; see the file COPYING3. If not see
|
// with this library; see the file COPYING3. If not see
|
||||||
// <http://www.gnu.org/licenses/>.
|
// <http://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
// { dg-do run { xfail *-*-* } }
|
// { dg-do run { target c++11 xfail *-*-* } }
|
||||||
// { dg-require-debug-mode "" }
|
// { dg-require-debug-mode "" }
|
||||||
|
|
||||||
#include <forward_list>
|
#include <forward_list>
|
||||||
|
|
Loading…
Add table
Reference in a new issue