From 135e66c64adf0ef5d2723c243d2f2f6a059ae753 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 21 Aug 2022 06:57:48 +0200 Subject: asm prelude, more IR --- examples/hello-world.cff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/hello-world.cff b/examples/hello-world.cff index 0ffca9f..ba16752 100644 --- a/examples/hello-world.cff +++ b/examples/hello-world.cff @@ -1,7 +1,8 @@ import "libc.hff"; extern fn main(argc int, argv **u8) int { - *argv = "hi"; + let it = *argv = "hi"; + argv[42] - 3; while argc > 0 { argc = argc - 1; } -- cgit v1.2.3