llvm-project/llvm/test/Object/mri-addlib.test

15 lines
389 B
Plaintext

; 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