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