[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / libcxx / test / std / numerics / rand / rand.predef / ranlux24.pass.cpp
blobba64854b16179e4eb19c1d4e8aab2c64a8d3fbd4
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <random>
11 // typedef discard_block_engine<ranlux24_base, 223, 23> ranlux24;
13 #include <random>
14 #include <cassert>
16 #include "test_macros.h"
18 int main(int, char**)
20 std::ranlux24 e;
21 e.discard(9999);
22 assert(e() == 9901578u);
24 return 0;