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, 1 insertions, 2 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff
index 998b5c2..8b81c17 100644
--- a/examples/hello-world.cff
+++ b/examples/hello-world.cff
@@ -1,7 +1,6 @@
import "libc.hff";
extern fn main(argc int, argv **u8) int {
- argc += 1;
- printf("hello %d %s\n", argc, *((argv + 2) - 1));
+ printf("hello world\n");
}