mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
11 lines
152 B
LLVM
11 lines
152 B
LLVM
|
; RUN: llvm-as < %s | opt -globalopt
|
||
|
|
||
|
@g = external global i32
|
||
|
|
||
|
@a = alias bitcast (i32* @g to i8*)
|
||
|
|
||
|
define void @f() {
|
||
|
%tmp = load i8* @a
|
||
|
ret void
|
||
|
}
|