diff options
Diffstat (limited to 'test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp')
| -rw-r--r-- | test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp b/test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp deleted file mode 100644 index ab67cd838f935..0000000000000 --- a/test/std/utilities/time/time.clock/time.clock.hires/now.pass.cpp +++ /dev/null @@ -1,26 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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> - -// high_resolution_clock - -// static time_point now(); - -#include <chrono> -#include <cassert> - -int main() -{ - typedef std::chrono::high_resolution_clock C; - C::time_point t1 = C::now(); - assert(t1.time_since_epoch().count() != 0); - assert(C::time_point::min() < t1); - assert(C::time_point::max() > t1); -} |
