Fix inserting new elements in a specified location.
[oota-llvm.git] / test / Object / archive-replace-pos.test
1 Test adding a member to a particular position
2
3 RUN: touch %t.foo
4 RUN: touch %t.bar
5 RUN: rm -f %t.a
6 RUN: llvm-ar rc %t.a %t.foo %t.bar
7 RUN: touch %t.zed
8 RUN: llvm-ar rca %t.foo %t.a %t.zed
9 RUN: llvm-ar t %t.a | FileCheck %s
10
11 CHECK: .foo
12 CHECK-NEXT: .zed
13 CHECK-NEXT: .bar