diff options
Diffstat (limited to 'util/romcc/tests/linux_test1.c')
-rw-r--r-- | util/romcc/tests/linux_test1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/romcc/tests/linux_test1.c b/util/romcc/tests/linux_test1.c new file mode 100644 index 0000000000..ee82148031 --- /dev/null +++ b/util/romcc/tests/linux_test1.c @@ -0,0 +1,8 @@ +#include "linux_syscall.h" + +static void main(void) +{ + static const char msg[] = "hello world\r\n"; + write(STDOUT_FILENO, msg, sizeof(msg)); + _exit(0); +} |