]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/numeric/interval/test/msvc_x64_flags.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / numeric / interval / test / msvc_x64_flags.cpp
CommitLineData
7c673cae
FG
1/* Boost test/msvc_x64_flags.cpp
2 * Test for amd64\ieee.c(102) : Assertion failed: (mask&~(_MCW_DN|_MCW_EM|_MCW_RC))==0.
3 * This happens with MSVC on x64 in Debug mode. See ticket #4964.
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE_1_0.txt or
7 * copy at http://www.boost.org/LICENSE_1_0.txt)
8 */
9
10#include <boost/numeric/interval.hpp>
1e59de90 11#include <boost/core/lightweight_test.hpp>
7c673cae
FG
12#include "bugs.hpp"
13
14int test_main(int, char *[]) {
15 boost::numeric::interval<double> i(0.0, 0.0);
16 boost::numeric::interval<double> i2 = 60.0 - i;
20effc67 17# ifdef BOOST_BORLANDC
7c673cae
FG
18 ::detail::ignore_warnings();
19# endif
20 return 0;
21}