1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/C++Frontend/2005-01-03-StaticInitializers.cpp
2007-01-17 07:59:14 +00:00

9 lines
127 B
C++

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