]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/operators/serialize.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / geometric_distribution / operators / serialize.cc
index 907e59ecc22d6503995bef0cdd0098f5ac384c83..ab123b7260dcd43eedaff4b98ef4a67f28baf726 100644 (file)
@@ -1,8 +1,9 @@
-// { dg-options "-std=c++0x" }
+// { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 //
-// 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
+// 2009-08-14  Edward M. Smith-Rowland  <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008, 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
 
 #include <random>
 #include <sstream>
-#include <testsuite_hooks.h>
 
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::stringstream str;
   std::geometric_distribution<int> u(0.75), v;
   std::minstd_rand0 rng;
@@ -38,10 +36,7 @@ test01()
   u(rng); // advance
   str << u;
 
-  VERIFY( !(u == v) );
-
   str >> v;
-  VERIFY( u == v );
 }
 
 int main()