repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC++
/
2005-02-27-PlacementArrayNewCrash.cpp
blob
a8fc6685ac4c3d0279a5905fc57f23ebdc3ae1b4
1
// RUN: %llvmgxx -S %s -o -
2
3
#include <new>
4
typedef
double
Ty
[
4
];
5
6
void
foo
(
Ty
*
XX
) {
7
new
(
XX
)
Ty
();
8
}