1 # Test different MRI comment formats and white space.
3 RUN: rm -rf %t && mkdir -p %t
4 RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o
6 RUN: echo "create %t/mri.ar;comment" > %t/script.mri
7 RUN: echo "addmod %t/elf.o * comment" >> %t/script.mri
8 RUN: echo "; comment" >> %t/script.mri
9 RUN: echo " ;comment" >> %t/script.mri
10 RUN: echo "* comment" >> %t/script.mri
11 RUN: echo " *comment" >> %t/script.mri
12 RUN: echo "" >> %t/script.mri
13 RUN: echo " " >> %t/script.mri
14 RUN: echo " save" >> %t/script.mri
16 RUN: llvm-ar -M < %t/script.mri
17 RUN: llvm-ar t %t/mri.ar | FileCheck %s