]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/list/requirements/dr438/assign_neg.cc
std_c++0x_neg.cc: Add -std=c++98.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / list / requirements / dr438 / assign_neg.cc
index 4bb80d234ed7cb5950c21eee29abdd4059f1c5c4..0a60dd78e6d43016563227529944e649de2fd679 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1730 }
+// { dg-prune-output 1730 }
 
 #include <list>
 
@@ -31,5 +31,5 @@ void f()
 {
   typedef std::list<A> list_type;
   list_type l;
-  l.assign(10, 1);
+  l.assign(10, 1);             // { dg-error "here|no match" }
 }