//===----------------------------------------------------------------------===// // // 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(const linear_congruential_engine&); #include #include #include "test_macros.h" template void test1() { typedef std::linear_congruential_engine E; E e1; E e2 = e1; assert(e1 == e2); (void)e1(); (void)e2(); 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(int, char**) { test(); test(); test(); test(); return 0; }