summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test.c b/test.c
new file mode 100644
index 0000000..70040c1
--- /dev/null
+++ b/test.c
@@ -0,0 +1,14 @@
+#include <u.h>
+#include <libc.h>
+
+void
+greet(void)
+{
+ write(1, "hello world\n", 12);
+}
+
+void
+main()
+{
+ greet();
+}