]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/multiprecision/test/compile_fail/conv_fail_47.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / multiprecision / test / compile_fail / conv_fail_47.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 #ifdef TEST_GMP
7
8 #include <boost/multiprecision/gmp.hpp>
9
10 using namespace boost::multiprecision;
11
12 void foo(mpf_float_50);
13
14 int main()
15 {
16 mpf_float_100 f(2);
17 foo(f);
18 }
19
20 #else
21
22 #error "Nothing to test without GMP!"
23
24 #endif