1
1
mirror of https://github.com/rui314/mold.git synced 2024-11-15 14:36:25 +03:00
mold/test/basic.test
2020-11-11 21:42:30 +09:00

6 lines
227 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 -static -o %t %t2.o %t1.o
RUN: objdump -d %t
RUN: file %t | grep ELF