URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [new1.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed operator-new
typedef __SIZE_TYPE__ size_t;
struct x { int a; void * operator new (size_t, void *); };
struct x * f(void *p) { return new (p) x; }
Go to most recent revision | Compare with Previous | Blame | View Log