mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 18:36:05 +00:00
10 lines
176 B
C++
10 lines
176 B
C++
// 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]);
|