1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/C++Frontend/2005-02-13-BadDynamicInit.cpp
Chris Lattner 8a13d9e16f new testcase for PR509
llvm-svn: 20171
2005-02-14 02:54:41 +00:00

10 lines
195 B
C++

// 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 };