summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2005-02-13-BadDynamicInit.cpp
blob: 84fa565f24064c19197fc6f490dd687e6cdb7bc3 (plain)
1
2
3
4
5
6
7
8
9
// 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 };