diff --git a/tests/test_class.cpp b/tests/test_class.cpp index 356818546..e2981aca4 100644 --- a/tests/test_class.cpp +++ b/tests/test_class.cpp @@ -606,11 +606,15 @@ CHECK_NOALIAS(8); static_assert(std::is_same>>::value, \ "DoesntBreak" #N " has wrong holder_type!") +#define CHECK_SMART_HOLDER(N) \ + static_assert(std::is_same::value, \ + "DoesntBreak" #N " has wrong holder_type!") CHECK_HOLDER(1, unique); CHECK_HOLDER(2, unique); CHECK_HOLDER(3, unique); -// BAKEIN_BREAK CHECK_HOLDER(4, unique); -// BAKEIN_BREAK CHECK_HOLDER(5, unique); +CHECK_SMART_HOLDER(4); +CHECK_SMART_HOLDER(5); CHECK_HOLDER(6, shared); CHECK_HOLDER(7, shared); CHECK_HOLDER(8, shared);