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() {
13 define void @caller() {