* g++.dg/init/elide5.C: Don't use unsigned long for size_t.
authorJason Merrill <jason@gcc.gnu.org>
Mon, 25 Jul 2016 18:32:00 +0000 (14:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 25 Jul 2016 18:32:00 +0000 (14:32 -0400)
From-SVN: r238728

gcc/testsuite/g++.dg/init/elide5.C

index 0a9978c..e52d55f 100644 (file)
@@ -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);
 }
-