aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-world.cff
diff options
context:
space:
mode:
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;
}