]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/multiprecision/test/compile_fail/conv_fail_48.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / compile_fail / conv_fail_48.cpp
CommitLineData
7c673cae
FG
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#ifdef TEST_GMP
7
8#include <boost/multiprecision/gmp.hpp>
9
10using namespace boost::multiprecision;
11
12int main()
13{
14 mpf_float_100 f(2);
92f5a8d4 15 mpf_float_50 f2;
7c673cae
FG
16 f2 = f;
17}
18
19#else
20
21#error "Nothing to test without GMP!"
22
23#endif