mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +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:
parent
a97cf21383
commit
81ddb8aaf3
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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user