1 ; RUN: lli -jit-kind=orc-lazy -extra-module %p/Inputs/weak-function-2.ll %s
3 ; Check that functions in two different modules agree on the address of weak
6 define linkonce_odr i32 @baz() {
18 define i32 @main(i32 %argc, ptr %argv) {
20 %call = tail call ptr @foo()
21 %call1 = tail call ptr @bar()
22 %cmp = icmp ne ptr %call, %call1
23 %conv = zext i1 %cmp to i32