Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / multiprecision / test / compile_fail / conv_fail_52.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 http://www.boost.org/LICENSE_1_0.txt)
5
6 #include <boost/multiprecision/cpp_dec_float.hpp>
7
8 using namespace boost::multiprecision;
9
10 int main()
11 {
12    cpp_dec_float_100 f(2);
13    cpp_dec_float_50 f2;
14    f2 = f;
15 }
16