reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / new1.C
blob42efbc1721e8fef04b26bd9c0ee6a0ad60b2b65b
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; }