1RUN: rm -rf %t && mkdir -p %t/foo/bar/
2RUN: mkdir -p %t/baz/
3RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o
4
5RUN: cd %t && llvm-ar rTc %t/baz/internal.ar elf.o
6RUN: cd %t/foo && llvm-ar rTc %t/foo/bar/external.ar ../baz/internal.ar
7
8RUN: FileCheck -input-file=%t/foo/bar/external.ar %s
9
10CHECK: {{^}}../../elf.o/
11