1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11, c++14
12 // template<class _M, class _N>
13 // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n)
15 // Remarks: If either M or N is not an integer type,
16 // or if either is (a possibly cv-qualified) bool, the program is ill-formed.