brintos

brintos / llvm-project-archived public Read only

0
0
Text · 581 B · 387f629 Raw
21 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// test ratio_divide10 11#include <ratio>12 13int main(int, char**)14{15    typedef std::ratio<0x7FFFFFFFFFFFFFFFLL, 1> R1;16    typedef std::ratio<1, 2> R2;17    typedef std::ratio_divide<R1, R2>::type R;18 19  return 0;20}21