summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/rational/test/expected_fail_02.cpp
blob: 0320700046e99bf3bd07c5b08cff2d9633829eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
///////////////////////////////////////////////////////////////////////////////
//  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 = 0.5;
}