brintos

brintos / llvm-project-archived public Read only

0
0
Text · 730 B · c9416fa Raw
20 lines · plain
1## This test creates a thin archive that contains a thin archive, a regular2## archive, and a file.3##4## The inner thin archive should be flattened, but the regular archive should5## not. The order of members in the archive should match the input order, with6## flattened members appearing together.7 8# RUN: touch %t-a.txt %t-b.txt %t-c.txt %t-d.txt %t-e.txt9# RUN: rm -f %t-a-plus-b.a %t-d-plus-e.a %t.a10# RUN: llvm-ar rcs --thin %t-a-plus-b.a %t-a.txt %t-b.txt11# RUN: llvm-ar rcs %t-d-plus-e.a %t-d.txt %t-e.txt12# RUN: llvm-ar rcs --thin %t.a %t-a-plus-b.a %t-c.txt %t-d-plus-e.a13# RUN: FileCheck --input-file=%t.a %s14 15# CHECK:      !<thin>16# CHECK:      a.txt17# CHECK-NEXT: b.txt18# CHECK-NEXT: c.txt19# CHECK-NEXT: -d-plus-e.a20