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 //===----------------------------------------------------------------------===// 8 9 // test ratio_multiply 10 11 #include <ratio> 12 13 int main(int, char**) 14 { 15 typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1; 16 typedef std::ratio<2, 1> R2; 17 typedef std::ratio_multiply<R1, R2>::type R; 18 19 return 0; 20 } 21