-// { dg-options "-std=gnu++11" }
// Copyright (C) 2008-2016 Free Software Foundation, Inc.
//
#include <forward_list>
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
// libstdc++/21770
template class std::forward_list<int, std::allocator<char> >;