diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-06-03 23:50:29 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-06-03 23:50:29 +0000 |
commit | 7eea775d6416ddf8f36c36da151139c0804cfd45 (patch) | |
tree | 6d9798b218a8b67b1f9da9cd56d5db4a8289f71a /gcc/testsuite/g++.dg/init/new5.C | |
parent | 445877a9da79aad47e0eb895dd0270fda8a29b85 (diff) | |
download | gcc-7eea775d6416ddf8f36c36da151139c0804cfd45.zip gcc-7eea775d6416ddf8f36c36da151139c0804cfd45.tar.gz gcc-7eea775d6416ddf8f36c36da151139c0804cfd45.tar.bz2 |
re PR libstdc++/44410 (Revision 160231 caused new libstdc++ test failures)
2010-06-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/44410
* g++.old-deja/g++.jason/new.C: Qualify size_t with std::.
* g++.old-deja/g++.other/delete3.C: Likewise.
* g++.old-deja/g++.other/new.C: Likewise.
* g++.old-deja/g++.law/operators27.C: Likewise.
* g++.old-deja/g++.mike/p755.C: Likewise.
* g++.dg/eh/new1.C: Likewise.
* g++.dg/init/new5.C: Likewise.
From-SVN: r160239
Diffstat (limited to 'gcc/testsuite/g++.dg/init/new5.C')
-rw-r--r-- | gcc/testsuite/g++.dg/init/new5.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/init/new5.C b/gcc/testsuite/g++.dg/init/new5.C index 3a5981e0..0d99f93 100644 --- a/gcc/testsuite/g++.dg/init/new5.C +++ b/gcc/testsuite/g++.dg/init/new5.C @@ -2,8 +2,8 @@ #include <new> -void * operator new[](size_t, std::nothrow_t const &) throw() -{ return NULL; } +void * operator new[](std::size_t, std::nothrow_t const &) throw() +{ return 0; } struct X { struct Inner { ~Inner() {} }; |