]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/numeric/interval/test/msvc_x64_flags.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / 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.
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>
11 #include <boost/test/minimal.hpp>
12 #include "bugs.hpp"
13
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 __BORLANDC__
18 ::detail::ignore_warnings();
19 # endif
20 return 0;
21 }