[RISCV] Add MIPS P8700 processor (#119882)
[llvm-project.git] / libcxx / test / std / time / time.duration / duration.compile.fail.cpp
blob02029c02bbecaacc126cf32ae45cedb368110f78
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 // If a program instantiates duration with a duration type for the template
14 // argument Rep a diagnostic is required.
16 #include <chrono>
18 int main(int, char**)
20 typedef std::chrono::duration<std::chrono::milliseconds> D;
21 D d;
23 return 0;