diff options
Diffstat (limited to 'llvm/test/Object/archive-replace-pos.test')
-rw-r--r-- | llvm/test/Object/archive-replace-pos.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Object/archive-replace-pos.test b/llvm/test/Object/archive-replace-pos.test new file mode 100644 index 00000000000..307f0709a79 --- /dev/null +++ b/llvm/test/Object/archive-replace-pos.test @@ -0,0 +1,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 |