// { dg-options "-std=c++0x" }
+// { 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-2014 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;
u(rng); // advance
str << u;
- VERIFY( !(u == v) );
-
str >> v;
- VERIFY( u == v );
}
int main()