diff --git a/test/support/is_trivially_copyable.cpp b/test/support/is_trivially_copyable.cpp index ae58f15d..59b83c9f 100644 --- a/test/support/is_trivially_copyable.cpp +++ b/test/support/is_trivially_copyable.cpp @@ -13,6 +13,10 @@ using namespace boost; using namespace boost::fusion::detail; +#if defined(__clang__) +// disable cv-qialifer on function type warning +# pragma clang diagnostic ignored "-Wignored-qualifiers" +#endif BOOST_MPL_ASSERT_NOT((is_trivially_copyable)); BOOST_MPL_ASSERT_NOT((is_trivially_copyable));