bolt/deps/llvm-18.1.8/llvm/test/ExecutionEngine/Interpreter/alias.ll

15 lines
202 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: %lli -jit-kind=mcjit -force-interpreter %s
define i32 @func() {
entry:
ret i32 0
}
@alias = alias i32 (), ptr @func
define i32 @main() {
entry:
%call = call i32 @alias()
ret i32 %call
}