From: Jason Merrill Date: Mon, 25 Jul 2016 18:32:00 +0000 (-0400) Subject: * g++.dg/init/elide5.C: Don't use unsigned long for size_t. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d6833755c1260d4a3f388b033549c0d140e7d89;p=gcc.git * g++.dg/init/elide5.C: Don't use unsigned long for size_t. From-SVN: r238728 --- diff --git a/gcc/testsuite/g++.dg/init/elide5.C b/gcc/testsuite/g++.dg/init/elide5.C index 0a9978ca661..e52d55fae68 100644 --- a/gcc/testsuite/g++.dg/init/elide5.C +++ b/gcc/testsuite/g++.dg/init/elide5.C @@ -1,7 +1,7 @@ // PR c++/71913 // { dg-do link { target c++11 } } -void* operator new(unsigned long, void* p) { return p; } +void* operator new(decltype(sizeof(1)), void* p) { return p; } struct IndirectReturn { IndirectReturn() {} @@ -24,4 +24,3 @@ int main() { bar(c); } -