2016-12-09 19:44:57 +08:00
|
|
|
RUN: rm -rf %t
|
2016-12-01 06:32:58 +08:00
|
|
|
RUN: mkdir -p %t
|
|
|
|
RUN: cd %t
|
|
|
|
RUN: mkdir -p foo
|
|
|
|
RUN: touch foo/test1.o
|
|
|
|
RUN: touch foo/test2.o
|
|
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test1.o
|
|
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test1.o
|
|
|
|
RUN: llvm-ar qcT foo/libtest.a foo/test2.o
|
2016-12-04 14:52:30 +08:00
|
|
|
RUN: llvm-ar t foo/libtest.a | FileCheck --match-full-lines %s
|
2016-12-01 06:32:58 +08:00
|
|
|
|
2016-12-04 14:52:30 +08:00
|
|
|
CHECK: foo/test1.o
|
|
|
|
CHECK: foo/test1.o
|
|
|
|
CHECK: foo/test2.o
|
2016-12-01 06:32:58 +08:00
|
|
|
|