1//===----------------------------------------------------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10// <random>
11
12// template<class UIntType, size_t w, size_t s, size_t r>
13// class subtract_with_carry_engine
14// {
15// public:
16//     // types
17//     typedef UIntType result_type;
18
19#include <random>
20#include <type_traits>
21
22void
23test1()
24{
25    static_assert((std::is_same<
26        std::ranlux24_base::result_type,
27        std::uint_fast32_t>::value), "");
28}
29
30void
31test2()
32{
33    static_assert((std::is_same<
34        std::ranlux48_base::result_type,
35        std::uint_fast64_t>::value), "");
36}
37
38int main()
39{
40    test1();
41    test2();
42}
43