diff --git a/test/static_assert_same.hpp b/test/static_assert_same.hpp index 3bff6bf..e463192 100644 --- a/test/static_assert_same.hpp +++ b/test/static_assert_same.hpp @@ -10,13 +10,17 @@ #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template -struct static_assert_same; +struct static_assert_same_base; template -struct static_assert_same +struct static_assert_same_base { enum { value = 1 }; }; + +template +struct static_assert_same : static_assert_same_base {}; + #else # include # include