-// { dg-do compile }
-// { dg-options "-std=gnu++0x" }
-// { dg-error "no matching" "" { target *-*-* } 1206 }
-// { dg-excess-errors "" }
+// { dg-do compile { target c++11 } }
-// Copyright (C) 2009, 2010, 2011 Free Software Foundation
+// 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<std::pair<char, char> > > test_type;
- test_type l('a', 'b');
+ test_type l('a', 'b'); // { dg-error "no matching" }
}
+
+// { dg-prune-output "iterator_traits" }