]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constants.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / shuffle_order_engine / requirements / constants.cc
index c1d5b3a2e450f88a7de3d03d29d5338e4cc242c0..77c6ec283b2ea4b017c677669e1bac0ac6077512 100644 (file)
@@ -1,10 +1,9 @@
-// { dg-do link }
-// { dg-options "-std=c++0x" }
+// { dg-do link { target c++11 } }
 // { dg-require-cstdint "" }
 //
 // 2009-09-29  Paolo Carlini <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009-2023 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
@@ -29,6 +28,7 @@ void test01()
 
   const void* p = &so.table_size;
   p = &so.table_size;
+  p = p; // Suppress unused warning.
 }
 
 int main()