mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
12 lines
264 B
LLVM
12 lines
264 B
LLVM
|
; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
||
|
|
||
|
%X = internal global { int, short, short } { int 1, short 2, short 3 }
|
||
|
|
||
|
implementation
|
||
|
|
||
|
|
||
|
void %test() {
|
||
|
store short 5, short* getelementptr ({ int, short, short }* %X, long 0, ubyte 1)
|
||
|
ret void
|
||
|
}
|