[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / time / time.duration / time.duration.nonmember / op_times_rep2.compile.fail.cpp
blob9ce82582cf3b9936ddaae90ffc7cbfa28a67f608
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 // <chrono>
11 // duration
13 // template <class Rep1, class Period, class Rep2>
14 // duration<typename common_type<Rep1, Rep2>::type, Period>
15 // operator*(const duration<Rep1, Period>& d, const Rep2& s);
17 // template <class Rep1, class Period, class Rep2>
18 // duration<typename common_type<Rep1, Rep2>::type, Period>
19 // operator*(const Rep1& s, const duration<Rep2, Period>& d);
21 #include <chrono>
23 #include "../../rep.h"
25 int main(int, char**)
27 std::chrono::duration<Rep> d;
28 d = 5 * d;
30 return 0;