Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
delete1.C
blob: 6386fe1883b598f5a8c170e549b04f91167793e4 [
file
] [
log
] [
blame
]
//Build don't link:
struct
cl_heap_ring
{
void
operator
delete
(
void
*
ptr
)
{
}
cl_heap_ring
()
{
}
};
struct
cl_heap_null_ring
:
public
cl_heap_ring
{
void
operator
delete
(
void
*
ptr
)
{
}
};
void
f
()
{
new
cl_heap_null_ring
();
}