diff --git a/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp b/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp --- a/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp +++ b/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp @@ -14,8 +14,6 @@ // T* polymorphic_allocator::deallocate(T*, size_t size) -// XFAIL: LIBCXX-WINDOWS-FIXME - int AssertCount = 0; #define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (void)::AssertCount++) @@ -38,13 +36,8 @@ ex::resource_adaptor r(Alloc{P}); ex::memory_resource & m1 = r; -#ifdef __STDCPP_DEFAULT_NEW_ALIGNMENT__ - std::size_t maxSize = std::numeric_limits::max() - - __STDCPP_DEFAULT_NEW_ALIGNMENT__; -#else std::size_t maxSize = std::numeric_limits::max() - alignof(std::max_align_t); -#endif m1.deallocate(nullptr, maxSize); assert(AssertCount == 0);