repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
new1.C
blob
42efbc1721e8fef04b26bd9c0ee6a0ad60b2b65b
1
// { dg-do assemble }
2
// GROUPS passed operator-new
3
typedef __SIZE_TYPE__ size_t;
4
struct x { int a; void * operator new (size_t, void *); };
5
struct x * f(void *p) { return new (p) x; }