[ARM] Add and adjust saturation tests for upcoming qadd changes. NFC
[llvm-core.git] / test / Linker / funcimport2.ll
blobbf8f96b78da015890181ab88502e771ac77c3d8a
1 ; RUN: opt -module-summary %s -o %t1.bc
2 ; RUN: opt -module-summary %p/Inputs/funcimport2.ll -o %t2.bc
3 ; RUN: llvm-lto -thinlto -o %t3 %t1.bc %t2.bc
4 ; RUN: llvm-link -import=bar:%t2.bc %t1.bc -summary-index=%t3.thinlto.bc -S | FileCheck %s
6 ; CHECK: define available_externally hidden void @foo() {
7 define available_externally hidden void @foo() {
8     ret void
11 declare void @bar()
13 define void @caller() {
14   call void @bar()
15   call void @foo()
16   ret void