diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2023-12-20 10:47:27 -0800 |
---|---|---|
committer | Ken Matsui <kmatsui@gcc.gnu.org> | 2023-12-22 01:57:30 -0800 |
commit | c4d1d1adf75bcf4a91a936c0a33cfc5242cc4e1f (patch) | |
tree | 6b767aca1caa9b75e2bd62bbf156e5f75110434b /libgcc | |
parent | 5bd5ef99579cd11f00f02a30634ef8b4d11018fb (diff) | |
download | gcc-c4d1d1adf75bcf4a91a936c0a33cfc5242cc4e1f.zip gcc-c4d1d1adf75bcf4a91a936c0a33cfc5242cc4e1f.tar.gz gcc-c4d1d1adf75bcf4a91a936c0a33cfc5242cc4e1f.tar.bz2 |
c++: testsuite: Remove testsuite_tr1.h includes
This patch removes the testsuite_tr1.h dependency from g++.dg/ext/is_*.C
tests since the header is supposed to be used only by libstdc++, not
front-end. This also includes test code consistency fixes.
For the record this fixes the test failures reported at
https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641058.html
gcc/testsuite/ChangeLog:
* g++.dg/ext/is_array.C: Remove testsuite_tr1.h. Add necessary
definitions accordingly. Tweak macros for consistency across
test codes.
* g++.dg/ext/is_bounded_array.C: Likewise.
* g++.dg/ext/is_function.C: Likewise.
* g++.dg/ext/is_member_function_pointer.C: Likewise.
* g++.dg/ext/is_member_object_pointer.C: Likewise.
* g++.dg/ext/is_member_pointer.C: Likewise.
* g++.dg/ext/is_object.C: Likewise.
* g++.dg/ext/is_reference.C: Likewise.
* g++.dg/ext/is_scoped_enum.C: Likewise.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions