File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
libcxx/test/libcxx/ranges/range.adaptors/range.chunk Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 88
99// REQUIRES: std-at-least-c++23
1010
11- // XFAIL: msvc
12-
1311// <ranges>
1412
1513// This test ensures that we use `[[no_unique_address]]` in `chunk_view`.
@@ -44,6 +42,7 @@ using CV1 = std::ranges::chunk_view<input_view>;
4442// [[no_unique_address]] range_difference_t<_View> __n_ // size: sizeof(ptrdiff_t)
4543// [[no_unique_address]] range_difference_t<_View> __remainder_ // size: sizeof(ptrdiff_t)
4644// [[no_unique_address]] __non_propagating_cache<iterator_t<_View>> __current_ // size: sizeof(__non_propagating_cache<cpp20_input_iterator<int*>>), align: std::ptrdiff_t
45+ static_assert (alignof (std::ranges::__non_propagating_cache<cpp20_input_iterator<int *>>) == alignof (std::ptrdiff_t ));
4746static_assert (sizeof (CV1) == /* sizeof(__base_) == 0 + */ sizeof (std::ptrdiff_t ) * 2 +
4847 sizeof (std::ranges::__non_propagating_cache<cpp20_input_iterator<int *>>));
4948
You can’t perform that action at this time.
0 commit comments