mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 12:05:48 -04:00
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
|
|
}
|