From 49d755d02ef24df43747bbbbfd073f347f343ddf Mon Sep 17 00:00:00 2001 From: Alex Bennée Date: Mon, 29 Apr 2019 15:41:46 +0100 Subject: 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 Reviewed-by: Richard Henderson --- tests/tcg/multiarch/system/hello.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/tcg/multiarch/system/hello.c (limited to 'tests/tcg/multiarch/system') diff --git a/tests/tcg/multiarch/system/hello.c b/tests/tcg/multiarch/system/hello.c new file mode 100644 index 0000000000..821dc0ef09 --- /dev/null +++ b/tests/tcg/multiarch/system/hello.c @@ -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 + +int main(void) +{ + ml_printf("Hello World\n"); + return 0; +} -- cgit v1.2.3-55-g7522