1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2 // This testcase corresponds to PR509
3 struct Data {
4   unsigned *data;
5   unsigned array[1];
6 };
7 
8 // CHECK-NOT: llvm.global_ctors
9 Data shared_null = { shared_null.array };
10