You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
555 B

RUN: yaml2obj %S/Inputs/elf.yaml -o %t.o
RUN: rm -f %t.ar
RUN: echo "create %t.ar;comment" > %t.mri
RUN: echo "addmod %t.o * comment" >> %t.mri
RUN: echo "; comment" >> %t.mri
RUN: echo " ;comment" >> %t.mri
RUN: echo "* comment" >> %t.mri
RUN: echo " *comment" >> %t.mri
RUN: echo "" >> %t.mri
RUN: echo " " >> %t.mri
RUN: echo "addmod %S/Inputs/elf.yaml" >> %t.mri
RUN: echo "delete %t.o" >> %t.mri
RUN: echo " save" >> %t.mri
RUN: echo "end" >> %t.mri
RUN: llvm-ar -M < %t.mri
RUN: llvm-ar tv %t.ar | FileCheck %s
CHECK-NOT: mri-delete.test{{.*}}.o