-// { 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-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
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" }