xref: /llvm-project/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll (revision 5bb014371ef8b1b082c517768dc7c75e1e8b9ec5)
1; RUN: %lli_mcjit -extra-modules=%p/multi-module-b.ir,%p/multi-module-c.ir  -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
2
3; This fails because __main is not resolved in remote mcjit.
4; XFAIL: cygwin,mingw32
5
6declare i32 @FB()
7
8define i32 @main() {
9  %r = call i32 @FB( )   ; <i32> [#uses=1]
10  ret i32 %r
11}
12
13