//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // duration_values::min #include #include #include #include "test_macros.h" #include "../../rep.h" int main() { assert(std::chrono::duration_values::min() == std::numeric_limits::lowest()); assert(std::chrono::duration_values::min() == std::numeric_limits::lowest()); assert(std::chrono::duration_values::min() == std::numeric_limits::lowest()); #if TEST_STD_VER >= 11 static_assert(std::chrono::duration_values::min() == std::numeric_limits::lowest(), ""); static_assert(std::chrono::duration_values::min() == std::numeric_limits::lowest(), ""); static_assert(std::chrono::duration_values::min() == std::numeric_limits::lowest(), ""); #endif }