1
0
forked from boostorg/core

Switch tests to not rely on requires checks

This commit is contained in:
Glen Fernandes
2021-10-27 01:41:40 -04:00
parent 0565456622
commit 12f5f51427
7 changed files with 53 additions and 7 deletions

View File

@@ -5,6 +5,8 @@ Copyright 2019 Glen Joseph Fernandes
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_DECLTYPE)
#include <boost/core/span.hpp>
#include <boost/core/lightweight_test.hpp>
@@ -423,3 +425,9 @@ int main()
test_end_span();
return boost::report_errors();
}
#else
int main()
{
return 0;
}
#endif