]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / vector / requirements / dr438 / assign_neg.cc
index cfbe734360106c24c24d4c6ed587956b0c8c3b97..4df5923fb3c78f49a0d6255deebe7367a460740f 100644 (file)
@@ -1,6 +1,6 @@
 // 2007-04-27  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2007-2014 Free Software Foundation, Inc.
+// Copyright (C) 2007-2020 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -18,7 +18,8 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1312 }
+// { dg-prune-output "cannot convert" }
+// { dg-prune-output "no matching function .*_M_fill_assign" }
 
 #include <vector>
 
@@ -30,5 +31,7 @@ struct A
 void f()
 {
   std::vector<A> v;
-  v.assign(10, 1);
+  v.assign(10, 1);             // { dg-error "here|no match" }
 }
+
+// { dg-prune-output "iterator_traits" }