tests/tcg/multiarch: add hello world system test

This is not really i386 only, we can have the same test for all
architectures supporting system tests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Alex Bennée 2019-04-29 15:41:46 +01:00
parent 8041650aef
commit 49d755d02e
2 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,14 @@
/*
* Hello World, system test version
*
* We don't have the benefit of libc, just builtin C primitives and
* whatever is in minilib.
*/
#include <minilib.h>
int main(void)
{
ml_printf("Hello World\n");
return 0;
}