1///////////////////////////////////////////////////////////////////////////////
2// Copyright 2019. Distributed under the Boost
3// Software License, Version 1.0. (See accompanying file
4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6// For more information read https://github.com/boostorg/rational/issues/26
7
8#include <boost/rational.hpp>
9
10void test(const char* text)
11{
12 (void)text;
13}
14
15void test(const boost::rational<int>& rational)
16{
17 (void)rational;
18}
19
20int main()
21{
22 test(text: "Some text");
23 return 0;
24}
25

source code of boost/libs/rational/test/expected_compile_12.cpp