From 902a81528b9d2edcf93226a2ca13da6fcc1839e5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Dec 2019 08:57:48 +0100 Subject: wip: function pointers and other stuff --- tests/hello_world.amal | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/hello_world.amal (limited to 'tests/hello_world.amal') 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 -- cgit v1.2.3