mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
d8100efca6
%XX = global int cast (int* getelementptr ([2 x int]* getelementptr (%struct.S* null, int 0, uint 0), int 0, int 1) to int) which is the literal translation of the testcase :) llvm-svn: 20247
9 lines
127 B
C++
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]);
|
|
|