1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/C++Frontend/2005-02-27-PlacementArrayNewCrash.cpp

9 lines
104 B
C++
Raw Normal View History

2005-02-27 20:28:30 +01:00
// RUN: %llvmgxx -S %s -o -
#include <new>
typedef double Ty[4];
void foo(Ty *XX) {
new(XX) Ty();
}