5ccc892d29566eb31f9be217152483f5381d8aa1
[oota-llvm.git] / test / ExecutionEngine / MCJIT / cross-module-sm-pic-a.ll
1 ; RUN: %lli_mcjit -extra-modules=%p/cross-module-b.ir -relocation-model=pic -code-model=small %s > /dev/null
2 ; XFAIL: mips, i686, i386, aarch64, arm
3
4 declare i32 @FB()
5
6 define i32 @FA() {
7   ret i32 0
8 }
9
10 define i32 @main() {
11   %r = call i32 @FB( )   ; <i32> [#uses=1]
12   ret i32 %r
13 }
14