xref: /aosp_15_r20/external/clang/test/CodeGenCXX/2005-01-03-StaticInitializers.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 // REQUIRES: LP64
3 
4 struct S {
5   int  A[2];
6 };
7 
8 // CHECK-NOT: llvm.global_ctor
9 int XX = (int)(long)&(((struct S*)0)->A[1]);
10