Index: test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp =================================================================== --- test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp +++ test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp @@ -23,12 +23,12 @@ { static_assert((std::is_same::type, int>::value), "E has the wrong underlying type"); - static_assert((std::is_same::type, unsigned>::value), - "F has the wrong underlying type"); + LIBCPP_STATIC_ASSERT((std::is_same::type, unsigned>::value), + "F has the wrong underlying type"); // MSVC's ABI doesn't follow the Standard #if _LIBCPP_STD_VER > 11 static_assert((std::is_same, int>::value), ""); - static_assert((std::is_same, unsigned>::value), ""); + LIBCPP_STATIC_ASSERT((std::is_same, unsigned>::value), ""); // MSVC's ABI #endif #if TEST_STD_VER >= 11 Index: test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp =================================================================== --- test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp +++ test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp @@ -13,9 +13,15 @@ #include +#include "test_macros.h" + enum Enum {zero, one_}; +#if TEST_STD_VER >= 11 +enum BigEnum : unsigned long long // MSVC's ABI doesn't follow the Standard +#else enum BigEnum +#endif { bigzero, big = 0xFFFFFFFFFFFFFFFFULL Index: test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp =================================================================== --- test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp +++ test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp @@ -13,9 +13,15 @@ #include +#include "test_macros.h" + enum Enum {zero, one_}; +#if TEST_STD_VER >= 11 +enum BigEnum : unsigned long long // MSVC's ABI doesn't follow the Standard +#else enum BigEnum +#endif { bigzero, big = 0xFFFFFFFFFFFFFFFFULL