9
3

conv_fail_46.cpp 474 B

1234567891011121314151617181920212223
  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 http://www.boost.org/LICENSE_1_0.txt)
  5. #ifdef TEST_GMP
  6. #include <boost/multiprecision/gmp.hpp>
  7. using namespace boost::multiprecision;
  8. int main()
  9. {
  10. mpf_t f;
  11. mpz_int i;
  12. i = f;
  13. }
  14. #else
  15. #error "Nothing to test without GMP!"
  16. #endif