[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / time / time.duration / time.duration.cast / round.compile.fail.cpp
blob93366b83618db2ef38c7e5d7dcd9cea0cfa2eb58
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11, c++14
10 // <chrono>
12 // round
14 // template <class ToDuration, class Rep, class Period>
15 // ToDuration
16 // round(const duration<Rep, Period>& d);
18 // ToDuration shall be an instantiation of duration.
20 #include <chrono>
22 int main(int, char**)
24 std::chrono::round<int>(std::chrono::milliseconds(3));
26 return 0;