mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
13 lines
188 B
LLVM
13 lines
188 B
LLVM
|
; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {define void @a}
|
||
|
|
||
|
define internal void @f() {
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
@a = alias void ()* @f
|
||
|
|
||
|
define void @g() {
|
||
|
call void()* @a()
|
||
|
ret void
|
||
|
}
|