-// { dg-options "-std=c++0x" }
+// { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
-// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2008-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
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// 26.4.3.3 Class template subtract_with_carry_engine [rand.eng.sub]
-// 26.4.2.2 Concept RandomNumberEngine [rand.concept.eng]
-
#include <random>
#include <testsuite_hooks.h>
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::subtract_with_carry_engine<unsigned long, 24, 10, 24> x;
VERIFY( x.min() == 0 );
VERIFY( x.max() == ((1UL << 24) - 1) );