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 
6 #include <boost/multiprecision/cpp_int.hpp>
7 
8 using namespace boost::multiprecision;
9 
main()10 int main()
11 {
12    number<cpp_int_backend<32, 32, unsigned_magnitude>, et_on> i;
13    i = -i;
14 }
15