diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/init')
-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() {} }; |