You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/numerics/rand/rand.adapt
Stephan T. Lavavej 2917004aed [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning.
In C++11 mode and newer, use real static_asserts.
In C++03 mode, min() and max() aren't constexpr, so use plain asserts.

One test triggers MSVC's warning C4310 "cast truncates constant value".
The code is valid, and yet the warning is valid, so I'm silencing it
through push-disable-pop.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287391 91177308-0d34-0410-b5e6-96231b3b80d8
9 years ago
..
rand.adapt.disc [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning. 9 years ago
rand.adapt.ibits [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning. 9 years ago
rand.adapt.shuf [libcxx] [test] D26812: In random tests, use real static_asserts and silence a warning. 9 years ago
nothing_to_do.pass.cpp Move test into test/std subdirectory. 11 years ago