//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // 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(); }