1db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//===----------------------------------------------------------------------===//
2db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//
3db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//                     The LLVM Compiler Infrastructure
4db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//
5db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// This file is dual licensed under the MIT and the University of Illinois Open
6db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// Source Licenses. See LICENSE.TXT for details.
7db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//
8db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow//===----------------------------------------------------------------------===//
9e33c0b01f892f8919f66a066a9c4064010104e49Stephan T. Lavavej//
10db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// UNSUPPORTED: c++98, c++03, c++11, c++14
11db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// <numeric>
12db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow
13db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// template<class _M, class _N>
14db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// constexpr common_type_t<_M,_N> lcm(_M __m, _N __n)
15db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow
16e33c0b01f892f8919f66a066a9c4064010104e49Stephan T. Lavavej// Remarks: If either M or N is not an integer type,
17db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow// or if either is (a possibly cv-qualified) bool, the program is ill-formed.
18db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow
19db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow#include <numeric>
20db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow
21db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow
22db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clowint main()
23db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow{
24db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow    std::lcm(2, true);
25db7fa111abe868b217443bcaafc47de53bdb0e48Marshall Clow}
26