forked from OSchip/llvm-project
15 lines
190 B
LLVM
15 lines
190 B
LLVM
|
; 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
|
||
|
}
|