summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/2005-01-03-StaticInitializers.cpp
blob: 875c412c6b4881213dbc684134b29be8c0d9f08d (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s

struct S {
  int  A[2];
};

// CHECK-NOT: llvm.global_ctor
int XX = (int)(long)&(((struct S*)0)->A[1]);