YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/2005-01-03-StaticInitializers.cpp

9 lines
158 B
C++
Raw Normal View History

// 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]);