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