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, 3 insertions, 0 deletions
diff --git a/examples/hello-world.cff b/examples/hello-world.cff
index a976450..29a1c03 100644
--- a/examples/hello-world.cff
+++ b/examples/hello-world.cff
@@ -2,6 +2,9 @@ extern fn printf(fmt *const u8, ...) int;
extern fn cos(x f32) f32;
extern fn main(argc int, argv *const *const u8) int {
+ let x = argv,
+ z = 3;
+ let foo = x + z;
printf("hello world\n");
}