Add and use DominatorTreeBase::findNearestCommonDominator().
[llvm-complete.git] / test / C++Frontend / 2005-02-13-BadDynamicInit.cpp
blob84fa565f24064c19197fc6f490dd687e6cdb7bc3
1 // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctors
2 // This testcase corresponds to PR509
3 struct Data {
4 unsigned *data;
5 unsigned array[1];
6 };
8 Data shared_null = { shared_null.array };