summaryrefslogtreecommitdiff
path: root/examples/hello_world.ll
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello_world.ll')
-rw-r--r--examples/hello_world.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/hello_world.ll b/examples/hello_world.ll
new file mode 100644
index 0000000..9fe2910
--- /dev/null
+++ b/examples/hello_world.ll
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+i32 main() {
+ printf("Hello world!\n");
+
+ return 0;
+}