mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +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]);
|
||
|
|