]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/multiprecision/test/compile_fail/operator_fail_02.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / multiprecision / test / compile_fail / operator_fail_02.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#include <boost/multiprecision/cpp_dec_float.hpp>
7#include <boost/multiprecision/cpp_int.hpp>
8
9using namespace boost::multiprecision;
10
11int main()
12{
92f5a8d4
TL
13 cpp_dec_float_50 a(2);
14 cpp_int b(2);
7c673cae
FG
15
16 a = a + b;
17}