Files
multiprecision/test/test_arithmetic_backend_concept.cpp
jzmaddock 4c36616841 CI: Fix some remaining issues:
* Build with --hash as otherwise command line gets too long on Windows machines.
* Disable tests that generate object files too large for gcc on windows.
* Split cpp_dec_float tests up a bit to reduce object file size.
* Use boost::int46_t not ::int64_t in test case.
* Disable test_arithmetic_backend_concept.cpp with original mingw32 which has issues fixed in mingw64.
2017-06-04 19:36:59 +01:00

25 lines
808 B
C++

///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#ifdef _MSC_VER
# define _SCL_SECURE_NO_WARNINGS
#endif
#include <boost/multiprecision/concepts/mp_number_archetypes.hpp>
#include "test_arithmetic.hpp"
int main()
{
//
// Orininal Mingw32 has issues with long double that break this, mingw64 is fine (and supported):
//
#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__MINGW32__) && !defined(_WIN64) && BOOST_WORKAROUND(BOOST_GCC, <= 50300))
test<boost::multiprecision::number<boost::multiprecision::concepts::number_backend_float_architype> >();
#endif
return boost::report_errors();
}