blob: 4da6451d9bfc5bc685a50f2d79fa666903556c0b [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <random>
// template<class RealType = double>
// class lognormal_distribution
// lognormal_distribution& operator=(const lognormal_distribution&);
#include <random>
#include <cassert>
void
test1()
{
typedef std::lognormal_distribution<> D;
D d1(20, 0.75);
D d2;
assert(d1 != d2);
d2 = d1;
assert(d1 == d2);
}
int main()
{
test1();
}