1 ## Show that --print-file-name prints just the archive name for an archive and
2 ## not the member names.
4 RUN: rm -rf %t && mkdir -p %t
5 RUN: echo -n abcd > %t/abcd
6 RUN: llvm-ar --format=gnu crs %t/archive.a %t/abcd
7 RUN: llvm-strings -f %t/archive.a | FileCheck %s
8 RUN: llvm-strings --print-file-name %t/archive.a | FileCheck %s
10 CHECK: archive.a: !<arch>
11 CHECK: archive.a: abcd/ 0 0 0 644 4 `
12 CHECK: archive.a: abcd