1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 02:44:48 +03:00
mold/test/basic.test
2020-10-26 17:40:37 +09:00

6 lines
219 B
Plaintext

RUN: echo '.globl _start; _start: jmp loop' | cc -o %t1.o -c -x assembler -
RUN: echo '.globl loop; loop: jmp loop' | cc -o %t2.o -c -x assembler -
RUN: mold -o %t %t2.o %t1.o
RUN: objdump -d %t
RUN: file %t | grep ELF