]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/multiprecision/test/compile_fail/conv_fail_25.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / compile_fail / conv_fail_25.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_int.hpp>
7 #include <boost/multiprecision/cpp_dec_float.hpp>
8
9 using namespace boost::multiprecision;
10
11 int main()
12 {
13 cpp_dec_float_50 a(2), b(3);
14 cpp_int i(3);
15 i %= a * b;
16 }