llvm-mirror/test/C++Frontend/2005-02-13-BadDynamicInit.cpp
2007-01-17 07:59:14 +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 };