1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-06 05:33:28 +00:00
llvm-6502/test/C++Frontend/2005-02-13-BadDynamicInit.cpp

10 lines
195 B
C++
Raw Normal View History

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