1; RUN: llc -filetype=obj -o %t %p/Inputs/foo-return-i32-0.ll
2; RUN: lli -jit-kind=orc-lazy -extra-object %t %s
3;
4; Check that we can load an object file and call a function in it.
5
6declare i32 @foo()
7
8define i32 @main(i32 %argc, i8** %argv) {
9entry:
10  %0 = call i32 @foo()
11  ret i32 %0
12}
13
14