diff options
Diffstat (limited to 'test/Object/mri-addlib.test')
-rw-r--r-- | test/Object/mri-addlib.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Object/mri-addlib.test b/test/Object/mri-addlib.test new file mode 100644 index 0000000..745bcf6 --- /dev/null +++ b/test/Object/mri-addlib.test @@ -0,0 +1,14 @@ +; RUN: echo create %t.a > %t.mri +; RUN: echo addlib %p/Inputs/GNU.a >> %t.mri +; RUN: echo addlib %p/Inputs/archive-test.a-gnu-minimal >> %t.mri +; RUN: echo save >> %t.mri +; RUN: echo end >> %t.mri + +; RUN: llvm-ar -M < %t.mri +; RUN: llvm-ar t %t.a | FileCheck %s + +; CHECK: evenlen +; CHECK-NEXT: oddlen +; CHECK-NEXT: very_long_bytecode_file_name.bc +; CHECK-NEXT: IsNAN.o +; CHECK-NEXT: test |