Fix DR 438 std::list test to pass in C++98 mode
authorJonathan Wakely <jwakely@redhat.com>
Sun, 31 Jul 2016 19:21:59 +0000 (20:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 31 Jul 2016 19:21:59 +0000 (20:21 +0100)
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Adjust dg-prune-output pattern for error in C++98 mode.

From-SVN: r238928

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc

index eeedd5ae7b3567f5b0ec951b9e44e2adff317878..359510d6daf64d8bef7e22b0157498f31ab985b7 100644 (file)
@@ -1,5 +1,8 @@
 2016-07-31  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
+       Adjust dg-prune-output pattern for error in C++98 mode.
+
        * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Only
        run for C++11 or later.
 
index 313c54a91e3575a0a7e2a054f1479eccc55d8921..769d6156d8d65d9756e862566ffce4b05f267e4c 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-prune-output 1682 }
+// { dg-prune-output "no matching function .*_M_fill_initialize" }
 
 #include <list>
 #include <utility>