]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc
PR c++/90047 - ICE with enable_if alias template.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / forward_list / requirements / dr438 / constructor_1_neg.cc
index 14e53a26cacf1c6fc507931256b30cebefa3ad50..e0147fe42a317b68f685ec2ad8e1704e978c0dd9 100644 (file)
@@ -1,8 +1,6 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++11" }
-// { dg-error "no matching" "" { target *-*-* } 27 }
+// { dg-do compile { target c++11 } }
 
-// Copyright (C) 2009-2014 Free Software Foundation, Inc.
+// Copyright (C) 2009-2019 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
@@ -24,5 +22,7 @@
 void f()
 {
   typedef std::forward_list<std::forward_list<int> > test_type;
-  test_type l(10, 1);
+  test_type l(10, 1); // { dg-error "no matching" }
 }
+
+// { dg-prune-output "iterator_traits" }