rational/test/expected_fail_09.cpp
jzmaddock ff2530e119 Merge branch 'no-float-convert' of https://github.com/jzmaddock/rational into develop
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-12-28 19:22:56 +00:00

12 lines
366 B
C++

///////////////////////////////////////////////////////////////////////////////
// Copyright 2015 John Maddock. 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/rational.hpp>
int main()
{
boost::rational<int> rat(2);
rat = rat - 0.5;
}