From fe64896d40fe3ca8698a3215acd9844852b0f73b Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Thu, 16 Oct 2025 12:57:33 +0200 Subject: [PATCH] [libc++][C++03] Fix abi.compile.pass.cpp tests --- .../containers/associative/unord.map/abi.compile.pass.cpp | 5 +---- .../containers/associative/unord.set/abi.compile.pass.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/libcxx/test/libcxx-03/containers/associative/unord.map/abi.compile.pass.cpp b/libcxx/test/libcxx-03/containers/associative/unord.map/abi.compile.pass.cpp index 55d42a8d017e1..8cecc555faa23 100644 --- a/libcxx/test/libcxx-03/containers/associative/unord.map/abi.compile.pass.cpp +++ b/libcxx/test/libcxx-03/containers/associative/unord.map/abi.compile.pass.cpp @@ -12,8 +12,6 @@ // unordered containers changes when bounded unique_ptr is enabled. // UNSUPPORTED: libcpp-has-abi-bounded-unique_ptr -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include #include @@ -99,8 +97,7 @@ static_assert(TEST_ALIGNOF(unordered_map_alloc) == 64, ""); +static_assert(sizeof(std::unordered_map) == 96, ""); static_assert(TEST_ALIGNOF(std::unordered_map) == 32, ""); #elif __SIZE_WIDTH__ == 32 diff --git a/libcxx/test/libcxx-03/containers/associative/unord.set/abi.compile.pass.cpp b/libcxx/test/libcxx-03/containers/associative/unord.set/abi.compile.pass.cpp index bee2012bbea29..6a638baee7d2e 100644 --- a/libcxx/test/libcxx-03/containers/associative/unord.set/abi.compile.pass.cpp +++ b/libcxx/test/libcxx-03/containers/associative/unord.set/abi.compile.pass.cpp @@ -12,8 +12,6 @@ // unordered containers changes when bounded unique_ptr is enabled. // UNSUPPORTED: libcpp-has-abi-bounded-unique_ptr -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include #include @@ -98,8 +96,7 @@ static_assert(TEST_ALIGNOF(unordered_set_alloc) == 64, ""); +static_assert(sizeof(std::unordered_set) == 96, ""); static_assert(TEST_ALIGNOF(std::unordered_set) == 32, ""); #elif __SIZE_WIDTH__ == 32