blob: 55abe0002f95ff156e278ff0580e4485b026fd33 [file] [log] [blame]
NAKAMURA Takumi6bd372b2016-12-09 11:44:57 +00001RUN: rm -rf %t
David Callahan5cb34077e82016-11-30 22:32:58 +00002RUN: mkdir -p %t
3RUN: cd %t
4RUN: mkdir -p foo
5RUN: touch foo/test1.o
6RUN: touch foo/test2.o
7RUN: llvm-ar qcT foo/libtest.a foo/test1.o
8RUN: llvm-ar qcT foo/libtest.a foo/test1.o
9RUN: llvm-ar qcT foo/libtest.a foo/test2.o
Rafael Espindola7e00c8c2016-12-04 06:52:30 +000010RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
David Callahan5cb34077e82016-11-30 22:32:58 +000011
Rafael Espindola7e00c8c2016-12-04 06:52:30 +000012CHECK: foo/test1.o
13CHECK: foo/test1.o
14CHECK: foo/test2.o
David Callahan5cb34077e82016-11-30 22:32:58 +000015