//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 // // time_point // template Duration2> // constexpr auto operator<=>(const time_point& lhs, // const time_point& rhs); // time_points with different clocks should not compare #include #include "../../clock.h" int main(int, char**) { using namespace std::chrono_literals; std::chrono::time_point t1{3ms}; std::chrono::time_point t2{3ms}; t1 <=> t2; return 0; }