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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
delete1.C
blob
d8c86a7f55ac5a70044665cec03b22a95921085f
1
// { dg-do assemble }
2
struct cl_heap_ring{
3
void operator delete (void* ptr) { }
4
cl_heap_ring ()
5
{ }
6
};
7
8
struct cl_heap_null_ring : public cl_heap_ring {
9
void operator delete (void* ptr) { }
10
};
11
12
void f()
13
{
14
new cl_heap_null_ring();
15
}