mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-08 18:30:26 +00:00
New testcase for PR529
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
8
test/C++Frontend/2005-02-27-PlacementArrayNewCrash.cpp
Normal file
8
test/C++Frontend/2005-02-27-PlacementArrayNewCrash.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
// RUN: %llvmgxx -S %s -o -
|
||||
|
||||
#include <new>
|
||||
typedef double Ty[4];
|
||||
|
||||
void foo(Ty *XX) {
|
||||
new(XX) Ty();
|
||||
}
|
Reference in New Issue
Block a user