6fbb2bc3c4bd66dc56fe24364e86da3b8b387d91
[oota-llvm.git] / test / ExecutionEngine / OrcMCJIT / remote / cross-module-a.ll
1 ; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
2 ; XFAIL: mingw32,win32
3
4 declare i32 @FB()
5
6 define i32 @FA() nounwind {
7   ret i32 0
8 }
9
10 define i32 @main() nounwind {
11   %r = call i32 @FB( )   ; <i32> [#uses=1]
12   ret i32 %r
13 }