llvm-mirror/test/FrontendC++/2005-02-13-BadDynamicInit.cpp

10 lines
195 B
C++
Raw Normal View History

2005-02-14 02:54:41 +00:00
// 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 };