llvm-project/llvm/test/FrontendC++/2005-01-03-StaticInitialize...

9 lines
131 B
C++

// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)(long)&(((struct S*)0)->A[1]);