URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [new32.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/48873
#include <new>
struct D {
private:
~D();
};
template<class T>
T& create();
void f()
{
D* dp = new (((void*) 0)) D(create<D>()); // #
}
Go to most recent revision | Compare with Previous | Blame | View Log