summaryrefslogtreecommitdiff
path: root/test/Object/archive-replace-pos.test
blob: 307f0709a796c49007c36c352f1e8a7cde6933e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Test adding a member to a particular position

RUN: touch %t.foo
RUN: touch %t.bar
RUN: rm -f %t.a
RUN: llvm-ar rc %t.a %t.foo %t.bar
RUN: touch %t.zed
RUN: llvm-ar rca %t.foo %t.a %t.zed
RUN: llvm-ar t %t.a | FileCheck %s

CHECK: .foo
CHECK-NEXT: .zed
CHECK-NEXT: .bar