Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC++ / 2005-02-27-PlacementArrayNewCrash.cpp
bloba8fc6685ac4c3d0279a5905fc57f23ebdc3ae1b4
1 // RUN: %llvmgxx -S %s -o -
3 #include <new>
4 typedef double Ty[4];
6 void foo(Ty *XX) {
7 new(XX) Ty();