Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-ar / flatten-thin-archive-recursive.test
blobfdd752d48b24fcec16dfee727d844fe10f824a36
1 # Since llvm-ar cannot create thin archives that contain any thin archives,
2 # nested-thin-archive.a is a manually constructed thin archive that contains
3 # another (unflattened) thin archive.
4 # This test ensures that flat archives are recursively flattened.
6 RUN: rm -f %t.a
7 RUN: llvm-ar rcsT %t.a %S/Inputs/nested-thin-archive.a %S/Inputs/d.txt
8 RUN: llvm-ar t %t.a | FileCheck %s
10 CHECK:      a.txt
11 CHECK-NEXT: b.txt
12 CHECK-NEXT: c.txt
13 CHECK-NEXT: d.txt