diff options
| author | 2022-08-17 07:38:48 +0200 | |
|---|---|---|
| committer | 2022-08-17 07:38:48 +0200 | |
| commit | 585e51cac05cbb4fbc54ae3381bea4f41320ff5d (patch) | |
| tree | bc456bc650f5828e6058131ece28e726509b9caa /examples | |
| parent | c50a02ec703c7c1c5f6823c8cbd07a424d604792 (diff) | |
let
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello-world.cff | 3 |
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"); } |