aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/i386/system/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/i386/system/hello.c')
-rw-r--r--tests/tcg/i386/system/hello.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/tcg/i386/system/hello.c b/tests/tcg/i386/system/hello.c
new file mode 100644
index 0000000000..821dc0ef09
--- /dev/null
+++ b/tests/tcg/i386/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 <minilib.h>
+
+int main(void)
+{
+ ml_printf("Hello World\n");
+ return 0;
+}