OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* class.c (resolve_address_of_overloaded_function): Don't
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
delete1.C
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
}