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