diff options
author | Luc Grosheintz <luc.grosheintz@gmail.com> | 2025-07-04 10:29:45 +0200 |
---|---|---|
committer | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-07-08 13:47:41 +0200 |
commit | 45b81ebf7815e3cea15f6fb18e83a101a4c50fb3 (patch) | |
tree | c385cb1555062d94345d0b03a1cde6c1f9f08513 /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | 74ddf1792ae3538ee829f2c399dfcb75bfae8fd3 (diff) | |
download | gcc-45b81ebf7815e3cea15f6fb18e83a101a4c50fb3.zip gcc-45b81ebf7815e3cea15f6fb18e83a101a4c50fb3.tar.gz gcc-45b81ebf7815e3cea15f6fb18e83a101a4c50fb3.tar.bz2 |
libstdc++: Restructure mdspan tests to reuse IntLike.
The class IntLike is used for testing extents with user-defined classes
that convert to int. This commit places the class into a separate header
file. This allows it to be reused across different parts of the mdspan
related testsuite.
libstdc++-v3/ChangeLog:
* testsuite/23_containers/mdspan/extents/custom_integer.cc:
Delete IntLike and include "int_like.h".
* testsuite/23_containers/mdspan/extents/int_like.h: Add
IntLike.
Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions