repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
placement1.C
blob
382fae8ed43bae4bc5709c5cd3b49188930892d5
1
// PR c++/11266
2
// We were expanding the same TARGET_EXPR twice, for placement new and
3
// delete.
4
5
void* operator new (__SIZE_TYPE__, void*) throw();
6
void operator delete (void*, void*) throw();
7
8
struct A { A(); };
9
10
void foo() { new(new A)A; }