mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
new testcase for PR509
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
550c57cb30
commit
d2beaa63b3
9
test/C++Frontend/2005-02-13-BadDynamicInit.cpp
Normal file
9
test/C++Frontend/2005-02-13-BadDynamicInit.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctors
|
||||
// This testcase corresponds to PR509
|
||||
struct Data {
|
||||
unsigned *data;
|
||||
unsigned array[1];
|
||||
};
|
||||
|
||||
Data shared_null = { shared_null.array };
|
||||
|
Loading…
Reference in New Issue
Block a user