]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/numeric/interval/test/msvc_x64_flags.cpp
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.
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)
10 #include <boost/numeric/interval.hpp>
11 #include <boost/core/lightweight_test.hpp>
14 int test_main(int, char *[]) {
15 boost::numeric::interval
<double> i(0.0, 0.0);
16 boost::numeric::interval
<double> i2
= 60.0 - i
;
17 # ifdef BOOST_BORLANDC
18 ::detail::ignore_warnings();