From b55dcfe47fbbcfc1dccd07cb27c02b9a86533d05 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 19 Jul 2013 21:23:28 +0000 Subject: Fix inserting new elements in a specified location. We were only handling the 'a' and 'b' options during moves before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186721 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/archive-replace-pos.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/Object/archive-replace-pos.test (limited to 'test/Object') diff --git a/test/Object/archive-replace-pos.test b/test/Object/archive-replace-pos.test new file mode 100644 index 0000000..307f070 --- /dev/null +++ b/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 -- cgit v1.1