//===----------------------------------------------------------------------===// // // 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; // requirements on parameters #include int main(int, char**) { typedef unsigned long long T; // expected-error-re@*:* {{{{(static_assert|static assertion)}} failed due to requirement '1ULL == 0 || 1ULL < 1ULL'{{.*}}linear_congruential_engine invalid parameters}} std::linear_congruential_engine e2; // expected-error-re@*:* {{{{(static_assert|static assertion)}} failed due to requirement '1ULL == 0 || 1ULL < 1ULL'{{.*}}linear_congruential_engine invalid parameters}} std::linear_congruential_engine e3; std::linear_congruential_engine e4; // expected-error-re@*:* {{{{(static_assert|static assertion)}} failed due to requirement 'is_unsigned::value'{{.*}}_UIntType must be unsigned type}} std::linear_congruential_engine e5; return 0; }