diff --git a/test/boost_no_cxx17_if_constexpr.ipp b/test/boost_no_cxx17_if_constexpr.ipp index 8c40e69c..3392ee73 100644 --- a/test/boost_no_cxx17_if_constexpr.ipp +++ b/test/boost_no_cxx17_if_constexpr.ipp @@ -30,6 +30,7 @@ int test() if constexpr (true) { if constexpr (1 != 0) { if constexpr (same::value) { + static_assert(!same::value, ""); return 1; } else if constexpr (false) { return 1;