diff options
Diffstat (limited to 'test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp')
-rw-r--r-- | test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp b/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp new file mode 100644 index 0000000000000..b6a440e16dd4b --- /dev/null +++ b/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp @@ -0,0 +1,23 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// <chrono> + +// system_clock + +// rep should be signed + +#include <chrono> +#include <cassert> + +int main() +{ + assert(std::chrono::system_clock::duration::min() < + std::chrono::system_clock::duration::zero()); +} |