Fix more failing tests for C++98 mode
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Add dg-prune-output for different C++98 diagnostic. * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/libstdc++-prettyprinters/compat.cc: Do not run for C++98. From-SVN: r272010
This commit is contained in:
parent
d561a18ee6
commit
ad60f42883
@ -1,5 +1,31 @@
|
||||
2019-06-06 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Add
|
||||
dg-prune-output for different C++98 diagnostic.
|
||||
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/vector/requirements/dr438/
|
||||
constructor_1_neg.cc: Likewise.
|
||||
* testsuite/23_containers/vector/requirements/dr438/
|
||||
constructor_2_neg.cc: Likewise.
|
||||
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
|
||||
Likewise.
|
||||
* testsuite/libstdc++-prettyprinters/compat.cc: Do not run for C++98.
|
||||
|
||||
* testsuite/23_containers/unordered_map/requirements/debug_container.cc:
|
||||
Do not test allocator rebinding extension for C++2a.
|
||||
* testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Change
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_assign" }
|
||||
|
||||
#include <deque>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <deque>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <deque>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_insert" }
|
||||
|
||||
#include <deque>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_assign" }
|
||||
|
||||
#include <list>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <list>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <list>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <list>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_assign" }
|
||||
|
||||
#include <vector>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <vector>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_initialize" }
|
||||
|
||||
#include <vector>
|
||||
|
@ -18,6 +18,7 @@
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-prune-output "cannot convert" }
|
||||
// { dg-prune-output "no matching function .*_M_fill_insert" }
|
||||
|
||||
#include <vector>
|
||||
|
@ -1,5 +1,5 @@
|
||||
// { dg-options "-g -O0" }
|
||||
// { dg-do run }
|
||||
// { dg-do run { target c++11 } }
|
||||
|
||||
// Copyright (C) 2014-2019 Free Software Foundation, Inc.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user