Fix AIX test failure due to replacement operator delete
authorJonathan Wakely <jwakely@redhat.com>
Mon, 17 Jun 2019 15:51:31 +0000 (16:51 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 17 Jun 2019 15:51:31 +0000 (16:51 +0100)
commit39f901e918c42935d1acf5ad87b79ae1b38a666b
tree4448e0e52ce54200776d754e84f785b44a97c6d2
parent35d57c957268c29056192f312c279fb08b4af0ea
Fix AIX test failure due to replacement operator delete

On AIX the sized delete defined in the library will call the non-sized
delete defined in the library, not the replacement version defined in
the test file. By also replacing sized delete we make the test pass
everywhere.

* testsuite/20_util/allocator/1.cc: Add sized delete, which fixes a
failure on AIX.

From-SVN: r272391
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/allocator/1.cc