Files
interval/test/cmake_install_test/main.cpp
James E. King III 26800d3a7f Implement reusable Boost.CI workflow for GHA
Also added a cmake test script.
Fix error: use of overloaded operator '!=' is ambiguous clang-10 on C++20
disabled clang-10: https://github.com/llvm/llvm-project/issues/43110
2025-07-02 16:56:09 -04:00

27 lines
561 B
C++

/* Boost test/integer.cpp
* test int extension
*
* Copyright 2003 Guillaume Melquiond
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or
* copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/numeric/interval.hpp>
#include <boost/numeric/interval/ext/integer.hpp>
#ifdef BOOST_BORLANDC
#include "bugs.hpp"
#endif
typedef boost::numeric::interval<float> I;
int main() {
I x, y;
x = 4 - (2 * y + 1) / 3;
# ifdef BOOST_BORLANDC
::detail::ignore_warnings();
# endif
return 0;
}