From 585e51cac05cbb4fbc54ae3381bea4f41320ff5d Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 17 Aug 2022 07:38:48 +0200 Subject: let --- examples/hello-world.cff | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples') 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"); } -- cgit v1.2.3