diff options
Diffstat (limited to 'examples/hello-world.cff')
| -rw-r--r-- | examples/hello-world.cff | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff index 9764ac2..4eb9352 100644 --- a/examples/hello-world.cff +++ b/examples/hello-world.cff @@ -1,6 +1,9 @@ extern fn printf(fmt *const u8, ...) int; +extern fn cos(x f32) f32; -extern fn main(argc int, argc *const *const u8) int { +extern fn main(argc int, argv *const *const u8) int { + 1 - (1 + argv); + argc *= 7; printf("hello world\n"); } |