]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/24_iterators/move_iterator/dr2061.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 24_iterators / move_iterator / dr2061.cc
index 26ac9455833b87e21ef1ff1dd0a31d626acbe946..a669adf89d6af83e01d86228dc4bc55f6b58e8be 100644 (file)
@@ -1,7 +1,6 @@
-// { dg-options "-std=gnu++11" }
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
 
-// Copyright (C) 2011-2016 Free Software Foundation, Inc.
+// Copyright (C) 2011-2024 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,6 +23,6 @@
 void test01()
 {
   int a[] = { 1, 2, 3, 4 };
-  std::make_move_iterator(a + 4);
-  std::make_move_iterator(a);
+  (void) std::make_move_iterator(a + 4);
+  (void) std::make_move_iterator(a);
 }