From ae0ee2630d5148ff0318e522a32a9448e1e13455 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 18 Oct 2020 14:21:20 +0900 Subject: [PATCH] temporary --- test/basic.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/basic.test b/test/basic.test index 93a6453f..32ac5151 100644 --- a/test/basic.test +++ b/test/basic.test @@ -1,3 +1,4 @@ -RUN: echo '.globl _start; _start: jmp start' | cc -o %t.o -c -x assembler - -RUN: chibild -o %t %t.o +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: chibild -o %t %t1.o %t2.o RUN: file %t | grep ELF