]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/multiprecision/test/compile_fail/operator_fail_01.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / test / compile_fail / operator_fail_01.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
8using namespace boost::multiprecision;
9
10int main()
11{
12 number<cpp_dec_float<50>, et_on> a(2);
13 number<cpp_dec_float<50>, et_off> b(2);
14
15 a = a + b;
16}