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:
Jan (janneke) Nieuwenhuizen 2020-11-21 20:21:28 +01:00
parent 691d25699c
commit cd6131bc21
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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;
}