summaryrefslogtreecommitdiff
path: root/src/usertestelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usertestelf.c')
-rw-r--r--src/usertestelf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usertestelf.c b/src/usertestelf.c
new file mode 100644
index 0000000..19f0096
--- /dev/null
+++ b/src/usertestelf.c
@@ -0,0 +1,6 @@
+#include <user/lib/syscall.c>
+
+int main(void) {
+ _syscall_write(1, "Hello!", 6, 0);
+ _syscall_exit(0);
+}