2 // { dg-do compile { target c++20 } }
12 union with_attribute_t
14 [[no_unique_address]] empty _0;
15 [[no_unique_address]] empty _1;
18 constexpr no_attribute_t no_attribute{};
19 constexpr with_attribute_t with_attribute{};
22 static_assert( &no_attribute._0 == &no_attribute._1 );
25 static_assert( &with_attribute._0 == &with_attribute._1 );