summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/rand/rand.device/eval.pass.cpp
blob: 40d0735a1471e6af47c5661ffdd871edf76149a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <random>

// class random_device;

// result_type operator()();

#include <random>
#include <cassert>

int main()
{
    std::random_device r;
    std::random_device::result_type e = r();
}
OpenPOWER on IntegriCloud