]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Expand tests for std::type_order. master trunk
authorTomasz Kamiński <tkaminsk@redhat.com>
Wed, 22 Apr 2026 10:30:19 +0000 (12:30 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Tue, 28 Apr 2026 12:37:44 +0000 (14:37 +0200)
commit47480a30d08fef394b3e12f36b9fa1f77a7add74
tree86389c111237bd2c368e6c43ab2ee76b3d2cd27a
parenta61760c4e555f9f5af2ea1ca3aa7abc2e578eed1
libstdc++: Expand tests for std::type_order.

Expanded test coverage to include:
* array of unknown bounds
* function types and pointers
* data and function member pointers

libstdc++-v3/ChangeLog:

* testsuite/18_support/comparisons/type_order/1.cc: Add tests
for more type.

gcc/testsuite/ChangeLog:

* g++.dg/cpp26/type-order1.C: Add tests for more type.

Reviewed-by: Jakub Jelinek <jakub@redhat.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Signed-off-by: Tomasz Kamiński <tkaminsk@redhat.com>
gcc/testsuite/g++.dg/cpp26/type-order1.C
libstdc++-v3/testsuite/18_support/comparisons/type_order/1.cc