summaryrefslogtreecommitdiffstats
path: root/test/numerics/rand/rand.device/eval.pass.cpp
blob: 9e445439759b122c8cc99c8a0f96ec91ecf2b100 (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();
}