blob: 93366b83618db2ef38c7e5d7dcd9cea0cfa2eb58 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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
// <chrono>
// round
// template <class ToDuration, class Rep, class Period>
// ToDuration
// round(const duration<Rep, Period>& d);
// ToDuration shall be an instantiation of duration.
#include <chrono>
int main(int, char**)
{
std::chrono::round<int>(std::chrono::milliseconds(3));
return 0;
}