summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLorenzo Torres <lorenzotorres@outlook.it>2026-06-09 08:45:29 +0200
committerLorenzo Torres <lorenzotorres@outlook.it>2026-06-09 08:45:29 +0200
commit13d591df4ae3dc07f3be8477f7bcbed296d7bc40 (patch)
tree77a0f78763bff3c03c6282d961ea2c777fe133c9 /examples
feat: first commit
Diffstat (limited to 'examples')
-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;
+}