Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / multiprecision / test / test_arithmetic_backend_concept.cpp
1 ///////////////////////////////////////////////////////////////
2 //  Copyright 2012 John Maddock. Distributed under the Boost
3 //  Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
5
6 #ifdef _MSC_VER
7 #define _SCL_SECURE_NO_WARNINGS
8 #endif
9
10 #include <boost/multiprecision/concepts/mp_number_archetypes.hpp>
11
12 #include "test_arithmetic.hpp"
13
14 int main()
15 {
16    //
17    // Orininal Mingw32 has issues with long double that break this, mingw64 is fine (and supported):
18    //
19 #if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__MINGW32__) && !defined(_WIN64) && BOOST_WORKAROUND(BOOST_GCC, <= 50300))
20    test<boost::multiprecision::number<boost::multiprecision::concepts::number_backend_float_architype> >();
21 #endif
22    return boost::report_errors();
23 }