aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-world.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-21 06:57:48 +0200
committerlemon <lsof@mailbox.org>2022-08-21 06:57:48 +0200
commit135e66c64adf0ef5d2723c243d2f2f6a059ae753 (patch)
tree7fa932722f75534c8492dd776096fc71a1412edc /examples/hello-world.cff
parentfa8aaba64d206330959470e1ffbf0ad0c974456a (diff)
asm prelude, more IR
Diffstat (limited to 'examples/hello-world.cff')
-rw-r--r--examples/hello-world.cff3
1 files changed, 2 insertions, 1 deletions
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;
}