[PATCH v2 2/5] libstdc++: Fix bug in layout mapping tests.
Tomasz Kaminski
tkaminsk@redhat.com
Thu Sep 11 11:53:44 GMT 2025
On Thu, Sep 11, 2025 at 1:42 PM Luc Grosheintz <luc.grosheintz@gmail.com>
wrote:
> libstdc++-v3/ChangeLog:
>
> * testsuite/23_containers/mdspan/layouts/mapping.cc
> (test_stride_1d): Fix test.
>
> Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
> ---
LGTM.
> libstdc++-v3/testsuite/23_containers/mdspan/layouts/mapping.cc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/libstdc++-v3/testsuite/23_containers/mdspan/layouts/mapping.cc
> b/libstdc++-v3/testsuite/23_containers/mdspan/layouts/mapping.cc
> index ee902a3cc05..1d9b7a27f28 100644
> --- a/libstdc++-v3/testsuite/23_containers/mdspan/layouts/mapping.cc
> +++ b/libstdc++-v3/testsuite/23_containers/mdspan/layouts/mapping.cc
> @@ -315,7 +315,7 @@ template<typename Layout>
> constexpr void
> test_stride_1d()
> {
> - std::layout_left::mapping<std::extents<int, 3>> m;
> + typename Layout::mapping<std::extents<int, 3>> m;
> VERIFY(m.stride(0) == 1);
> }
>
> --
> 2.50.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250911/fc1a8066/attachment.htm>
More information about the Libstdc++
mailing list