mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 00:48:01 +00:00
9 lines
125 B
C++
9 lines
125 B
C++
|
// RUN: %llvmgxx %s -S -o - | grep '%XX = global int 4'
|
||
|
|
||
|
struct S {
|
||
|
int A[2];
|
||
|
};
|
||
|
|
||
|
int XX = (int)&(((struct S*)0)->A[1]);
|
||
|
|