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 -relocation-model=pic -code-model=small %s > /dev/null
2; XFAIL: mips, i686, i386, arm
3
4declare i32 @FB()
5
6define i32 @FA() {
7  ret i32 0
8}
9
10define i32 @main() {
11  %r = call i32 @FB( )   ; <i32> [#uses=1]
12  ret i32 %r
13}
14
15