rational/test/expected_compile_12.cpp
Aleksander 0ccc0230ab Do not create rational from array type. (#36)
* Do not create rational from array type.
* Fix build on older compilers.
2019-04-16 11:42:54 -04:00

25 lines
526 B
C++

///////////////////////////////////////////////////////////////////////////////
// Copyright 2019. 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)
// For more information read https://github.com/boostorg/rational/issues/26
#include <boost/rational.hpp>
void test(const char* text)
{
(void)text;
}
void test(const boost::rational<int>& rational)
{
(void)rational;
}
int main()
{
test("Some text");
return 0;
}