1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
11 // template <class UIntType, UIntType a, UIntType c, UIntType m>
12 // class linear_congruential_engine;
14 // template<class Sseq> explicit linear_congruential_engine(Sseq& q);
19 #include "test_macros.h"
24 unsigned a
[] = {3, 5, 7};
25 std::seed_seq
sseq(a
, a
+3);
26 std::linear_congruential_engine
<unsigned, 5, 7, 11> e1(sseq
);
27 std::linear_congruential_engine
<unsigned, 5, 7, 11> e2(4);