llvm-for-llvmta/test/tools/llvm-ar/reduce-thin-path.test

11 lines
310 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
RUN: rm -rf %t && mkdir -p %t/foo/bar/
RUN: mkdir -p %t/baz/
RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o
RUN: cd %t && llvm-ar rTc %t/baz/internal.ar elf.o
RUN: cd %t/foo && llvm-ar rTc %t/foo/bar/external.ar ../baz/internal.ar
RUN: FileCheck -input-file=%t/foo/bar/external.ar %s
CHECK: {{^}}../../elf.o/