llvm-for-llvmta/tools/clang/test/CodeGenCXX/2005-01-03-StaticInitialize...

10 lines
176 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
// REQUIRES: LP64
struct S {
int A[2];
};
// CHECK-NOT: llvm.global_ctor
int XX = (int)(long)&(((struct S*)0)->A[1]);