1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/FrontendC++/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();
}