llvm-for-llvmta/test/ExecutionEngine/Interpreter/call-no-args.ll

11 lines
169 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: %lli -force-interpreter %s
declare void @exit(i32)
declare i32 @rand()
define i32 @main() {
%ret = call i32 @rand()
call void @exit(i32 0)
ret i32 %ret
}