summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ar/flatten-thin-archive-recursive.test
blob: fdd752d48b24fcec16dfee727d844fe10f824a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Since llvm-ar cannot create thin archives that contain any thin archives,
# nested-thin-archive.a is a manually constructed thin archive that contains
# another (unflattened) thin archive.
# This test ensures that flat archives are recursively flattened.

RUN: rm -f %t.a
RUN: llvm-ar rcsT %t.a %S/Inputs/nested-thin-archive.a %S/Inputs/d.txt
RUN: llvm-ar t %t.a | FileCheck %s

CHECK:      a.txt
CHECK-NEXT: b.txt
CHECK-NEXT: c.txt
CHECK-NEXT: d.txt
OpenPOWER on IntegriCloud