test: ARM: 08-assign.c: Avoid assembly for tcc.
* lib/tests/scaffold/08-assign.c (main)[__arm__ && __TINYC__]: Avoid assembly.
This commit is contained in:
parent
691d25699c
commit
cd6131bc21
|
@ -1,6 +1,6 @@
|
|||
/* -*-comment-start: "//";comment-end:""-*-
|
||||
* GNU Mes --- Maxwell Equations of Software
|
||||
* Copyright © 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
* Copyright © 2018,2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
*
|
||||
* This file is part of GNU Mes.
|
||||
*
|
||||
|
@ -27,6 +27,8 @@ main ()
|
|||
a = 2;
|
||||
b = -2;
|
||||
c = a + b;
|
||||
#if !(__arm__ && __TINYC__) // tcc does not support arm assembly
|
||||
asm ("nop");
|
||||
#endif
|
||||
return c;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue