diff options
Diffstat (limited to 'llvm/unittests/Support/TimeValueTest.cpp')
-rw-r--r-- | llvm/unittests/Support/TimeValueTest.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/unittests/Support/TimeValueTest.cpp b/llvm/unittests/Support/TimeValueTest.cpp index 9e8690f57bc..3d2b9780c06 100644 --- a/llvm/unittests/Support/TimeValueTest.cpp +++ b/llvm/unittests/Support/TimeValueTest.cpp @@ -37,14 +37,4 @@ TEST(TimeValue, Win32FILETIME) { EXPECT_EQ(ft1970, epoch.toWin32Time()); } -TEST(TimeValue, Chrono) { - sys::TimeValue TV; - TV.fromEpochTime(0); - sys::TimePoint<> TP = TV; - EXPECT_EQ(0u, sys::toTimeT(TP)); - - TP += std::chrono::seconds(47); - TV = TP; - EXPECT_EQ(47u, TV.toEpochTime()); -} } |