math/test/compile_test/cstdfloat_concept_check_1.cpp
2016-10-29 17:58:22 +01:00

26 lines
570 B
C++

// Copyright John Maddock 2014.
// Use, modification and distribution are subject to 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)
#define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
#include <boost/cstdfloat.hpp>
#include "poison.hpp"
#include <boost/math/concepts/distributions.hpp>
#include "instantiate.hpp"
int main(int
#ifdef BOOST_FLOAT128_C
argc
#endif
, char*[])
{
#ifdef BOOST_FLOAT128_C
if(argc > 1000)
instantiate(BOOST_FLOAT128_C(1.23));
#endif
}