Disable hash_variant_test2 under Clang < 7.1

This commit is contained in:
Peter Dimov
2026-05-11 22:32:13 +03:00
parent 3e27ff182c
commit 1e51179fc7
+5
View File
@@ -11,6 +11,11 @@
BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_NO_CXX17_HDR_VARIANT is defined" ) BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_NO_CXX17_HDR_VARIANT is defined" )
int main() {} int main() {}
#elif defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION < 70100
BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_CLANG_VERSION < 70100" )
int main() {}
#else #else
#include <boost/core/lightweight_test.hpp> #include <boost/core/lightweight_test.hpp>