mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01: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]);
|
|
|