]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/tools/llvm-ar/flatten-thin-archive-recursive.test
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / tools / llvm-ar / flatten-thin-archive-recursive.test
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.
5
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
9
10 CHECK:      a.txt
11 CHECK-NEXT: b.txt
12 CHECK-NEXT: c.txt
13 CHECK-NEXT: d.txt