blob: 55abe0002f95ff156e278ff0580e4485b026fd33 [file] [log] [blame]
NAKAMURA Takumif6da5c02016-12-09 11:44:57 +00001RUN: rm -rf %t
David Callahanbcdc1612016-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 Espindola2f8ebc02016-12-04 06:52:30 +000010RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
David Callahanbcdc1612016-11-30 22:32:58 +000011
Rafael Espindola2f8ebc02016-12-04 06:52:30 +000012CHECK: foo/test1.o
13CHECK: foo/test1.o
14CHECK: foo/test2.o
David Callahanbcdc1612016-11-30 22:32:58 +000015