]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / forward_list / modifiers / 6.cc
index 9c9bbecfa04090e1b8997c74c0ae048eb1184b96..f5c0cd10fb28d0997d22dfe7b9a6dd0a4461b916 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2012-2016 Free Software Foundation, Inc.
+// Copyright (C) 2012-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
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl1(1, 5), fl2(1, 4), fl3(1, 3),
                          fl4(1, 2), fl5(1, 1), fl6(1, 0);