projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
007b405
)
* g++.dg/init/elide5.C: Don't use unsigned long for size_t.
author
Jason Merrill
<jason@gcc.gnu.org>
Mon, 25 Jul 2016 18:32:00 +0000
(14:32 -0400)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/init/elide5.C
b/gcc/testsuite/g++.dg/init/elide5.C
index 0a9978ca6615046e149702af04ecf422873bb459..e52d55fae6809f6ef00a0bd43de480f7d734a55c 100644
(file)
--- 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);
}
-