mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
263 B
LLVM
11 lines
263 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -raise -disable-output
|
|
|
|
%T = type { [0 x ubyte] }
|
|
|
|
void %test(%T* %tmp.22) {
|
|
%tmp.23 = getelementptr %T* %tmp.22, long 0, uint 0
|
|
%tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
|
|
%tmp.25 = load sbyte** %tmp.24
|
|
ret void
|
|
}
|