aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hello_world.amal')
-rw-r--r--tests/hello_world.amal5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hello_world.amal b/tests/hello_world.amal
new file mode 100644
index 0000000..7c68d3f
--- /dev/null
+++ b/tests/hello_world.amal
@@ -0,0 +1,5 @@
+extern const printf: fn(fmt: &c_char, ...) c_int;
+
+const main = fn {
+ printf("hello, world!\n");
+} \ No newline at end of file