//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // template // class linear_congruential_engine; // linear_congruential_engine(); #include #include template void test1() { typedef std::linear_congruential_engine LCE; LCE e1; LCE e2; e2.seed(); assert(e1 == e2); } template void test() { test1(); test1(); test1(); const T M(static_cast(-1)); test1(); test1(); test1(); test1(); test1(); test1(); test1(); test1(); test1(); } int main() { test(); test(); test(); test(); }