From a8ab620e9c2b298ff3a1950d4132e3d98a6d4f60 Mon Sep 17 00:00:00 2001 From: Valentyn Yukhymenko Date: Sat, 23 Nov 2024 12:51:11 +0000 Subject: [PATCH] wording Signed-off-by: Valentyn Yukhymenko --- .../std/experimental/reflection/define-aggregate.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/test/std/experimental/reflection/define-aggregate.pass.cpp b/libcxx/test/std/experimental/reflection/define-aggregate.pass.cpp index a804a398a94a20..3503cc364b898d 100644 --- a/libcxx/test/std/experimental/reflection/define-aggregate.pass.cpp +++ b/libcxx/test/std/experimental/reflection/define-aggregate.pass.cpp @@ -304,7 +304,7 @@ static_assert(is_type(define_aggregate(^^S2, { } // namespace repeat_calls -namespace non_trivial_constructor_and_destructor { +namespace non_trivial_constructor_and_destructor_of_union_members { // https://github.com/bloomberg/clang-p2996/issues/115 // all members of union are trivially constructible and destructible @@ -322,7 +322,7 @@ static_assert(std::is_trivially_constructible::value == true); static_assert(std::is_destructible::value == true); static_assert(std::is_trivially_destructible::value == true); -// at least one member of union has non-trivial constructor and destructor +// at least one member of union has non-trivial constructor or destructor struct A { constexpr A() { // no-op