blob: 365659710ac84b4884e9c147a69b0609158cfc71 [file] [log] [blame]
David Callahan5cb34077e82016-11-30 22:32:58 +00001RUN: mkdir -p %t
2RUN: cd %t
3RUN: mkdir -p foo
4RUN: touch foo/test1.o
5RUN: touch foo/test2.o
6RUN: llvm-ar qcT foo/libtest.a foo/test1.o
7RUN: llvm-ar qcT foo/libtest.a foo/test1.o
8RUN: llvm-ar qcT foo/libtest.a foo/test2.o
Rafael Espindola7e00c8c2016-12-04 06:52:30 +00009RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
David Callahan5cb34077e82016-11-30 22:32:58 +000010
Rafael Espindola7e00c8c2016-12-04 06:52:30 +000011CHECK: foo/test1.o
12CHECK: foo/test1.o
13CHECK: foo/test2.o
David Callahan5cb34077e82016-11-30 22:32:58 +000014