testsuite: Fix up pr94314*.C tests [PR94314]
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Apr 2020 18:04:01 +0000 (20:04 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 8 Apr 2020 18:04:01 +0000 (20:04 +0200)
commit6c9a711575d8fdf9e75f01d7a0e84d558600df40
treece57fe848182ad36856fac8a3fb723164fc58a31
parent08d1e7a5aabcf7eeac48bfd99deb80451b8f9974
testsuite: Fix up pr94314*.C tests [PR94314]

The test FAIL everywhere where size_t is not unsigned long.  Fixed by
using __SIZE_TYPE__ instead.

2020-04-08  Jakub Jelinek  <jakub@redhat.com>

PR c++/94314
* g++.dg/pr94314.C (A::operator new, B::operator new, C::operator new):
Use __SIZE_TYPE__ instead of unsigned long.
* g++.dg/pr94314-3.C (base::operator new, B::operator new): Likewise.
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr94314-3.C
gcc/testsuite/g++.dg/pr94314.C