diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-12-23 08:57:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:37:00 +0200 |
commit | 902a81528b9d2edcf93226a2ca13da6fcc1839e5 (patch) | |
tree | ea868fae662aab61f1caa50b16a8b02fe1e6836b /tests/hello_world.amal | |
parent | 111bd0c7cb4b446c4bfe192b1df82845de17c005 (diff) |
wip: function pointers and other stuff
Diffstat (limited to 'tests/hello_world.amal')
-rw-r--r-- | tests/hello_world.amal | 5 |
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 |