//===----------------------------------------------------------------------===// // // 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(const linear_congruential_engine&); #include #include template void test1() { typedef std::linear_congruential_engine E; E e1; E e2 = e1; assert(e1 == e2); e1(); e2(); 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(); }