diff options
author | Jakub Jelinek <jakub@redhat.com> | 2023-01-25 00:12:46 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2023-01-25 00:12:46 +0100 |
commit | aba6416e95ab4138a0ecab0fd51e7e9329d74a45 (patch) | |
tree | ccc2a45ad6b7a279ff3063773f90c9410a028c75 /gcc/gcc.cc | |
parent | f235d695729cc745cf15a00fb8b2cfaded80fd1e (diff) | |
download | gcc-aba6416e95ab4138a0ecab0fd51e7e9329d74a45.zip gcc-aba6416e95ab4138a0ecab0fd51e7e9329d74a45.tar.gz gcc-aba6416e95ab4138a0ecab0fd51e7e9329d74a45.tar.bz2 |
testsuite: Fix up new51.C test on various targets [PR108533]
The test fails on targets where size_t is not unsigned long
due to extra diagnostics.
As the testcase is tested in C++98 too, I'm not using decltype (sizeof 0)
but __SIZE_TYPE__.
2023-01-25 Jakub Jelinek <jakub@redhat.com>
PR c++/107329
PR testsuite/108533
* g++.dg/init/new51.C (size_t): New typedef.
(RexxClass::operator new, RexxClass::operator delete): Use size_t
instead of unsigned long.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions