llvm-project/llvm/test/ExecutionEngine/Interpreter/alias.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
190 B
LLVM
Raw Normal View History

; 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
}