llvm-for-llvmta/test/ExecutionEngine/Interpreter/alias.ll

15 lines
190 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: %lli -force-interpreter %s
define i32 @func() {
entry:
ret i32 0
}
@alias = alias i32 (), i32 ()* @func
define i32 @main() {
entry:
%call = call i32 @alias()
ret i32 %call
}