diff --git a/test/is_list_constructible_test.cpp b/test/is_list_constructible_test.cpp index 2e7ee62..455da09 100644 --- a/test/is_list_constructible_test.cpp +++ b/test/is_list_constructible_test.cpp @@ -72,8 +72,13 @@ BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value) BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); + +#if defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && (__GNUC__ == 7) && (__cplusplus >= 201500) +// g++ 7.1 in -std=c++1z, c++17 has a bug +#else BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); +#endif BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); @@ -81,8 +86,13 @@ BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value) BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), true); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); + +#if defined(CI_SUPPRESS_KNOWN_ISSUES) && defined(__GNUC__) && (__GNUC__ == 7) && (__cplusplus >= 201500) +// -"- +#else BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); +#endif BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false); BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_list_constructible::value), false);