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