mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
11 lines
244 B
LLVM
11 lines
244 B
LLVM
|
; RUN: as < %s | opt -raise -disable-output
|
||
|
|
||
|
%T = type { [0 x ubyte] }
|
||
|
|
||
|
void %test(%T* %tmp.22) {
|
||
|
%tmp.23 = getelementptr %T* %tmp.22, long 0, ubyte 0
|
||
|
%tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
|
||
|
%tmp.25 = load sbyte** %tmp.24
|
||
|
ret void
|
||
|
}
|