18 lines · plain
1# RUN: llvm-as %S/Inputs/f.ll -o %t.f.bc2# RUN: llvm-as %S/Inputs/g.ll -o %t.g.bc3# RUN: llvm-ar cr %t.fg.a %t.f.bc %t.g.bc4# RUN: llvm-ar cr --format=gnu %t.empty.lib5# RUN: llvm-link %S/Inputs/h.ll %t.fg.a %t.empty.lib -o %t.linked.bc6 7# RUN: llvm-nm %t.linked.bc | FileCheck %s8 9# RUN: rm -f %t.f.bc10# RUN: rm -f %t.g.bc11# RUN: rm -f %t.fg.a12# RUN: rm -f %t.empty.a13# RUN: rm -f %t.linked.bc14 15# CHECK: -------- T f16# CHECK: -------- T g17# CHECK: -------- T h18