You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
455 B

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