//===----------------------------------------------------------------------===// // // 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; typedef typename LCE::result_type result_type; LCE e1; LCE e2; e2.seed(); assert(e1 == e2); } template void test() { test1(); test1(); test1(); const T M(~0); test1(); test1(); test1(); test1(); test1(); test1(); test1(); test1(); test1(); } int main() { test(); test(); test(); test(); }