aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcJIT/cross-module-a.ll
blob: 14a73f5548c9bd4e18eb339db5689d6c72be95bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/cross-module-b.ll %s > /dev/null

declare i32 @FB()

define i32 @FA() {
  ret i32 0
}

define i32 @main() {
  %r = call i32 @FB( )   ; <i32> [#uses=1]
  ret i32 %r
}