diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bytecode.amal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bytecode.amal b/tests/bytecode.amal index d27a240..35dc3da 100644 --- a/tests/bytecode.amal +++ b/tests/bytecode.amal @@ -1,5 +1,5 @@ -extern const printf: fn(fmt: ?*c_char, ...) c_int; +const io = @import("../std/io.amal"); const main = fn { - printf("hello, world!\n"); + io.print("hello %s", "world!"); } |