2004-03-08-ReinterpretCastCopy.cpp 2004-03-09-UnmangledBuiltinMethods.cpp 2004-03-15-CleanupsAndGotos.cpp 2004-06-08-LateTemplateInstantiation.cpp 2004-09-27-CompilerCrash.cpp 2004-09-27-DidntEmitTemplate.cpp 2004-11-27-ExceptionCleanupAssertion.cpp 2004-11-27-FriendDefaultArgCrash.cpp 2005-01-03-StaticInitializers.cpp from llvm/test/FrontendC++. llvm-svn: 138157
9 lines
158 B
C++
9 lines
158 B
C++
// 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]);
|