From 1ca77f60626666fba792db407dd11ea9b597d9cf Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 09:19:33 +0200 Subject: binary operators and more stuff --- examples/hello-world.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/hello-world.cff b/examples/hello-world.cff index 4eb9352..1c3c96f 100644 --- a/examples/hello-world.cff +++ b/examples/hello-world.cff @@ -2,8 +2,8 @@ extern fn printf(fmt *const u8, ...) int; extern fn cos(x f32) f32; extern fn main(argc int, argv *const *const u8) int { - 1 - (1 + argv); - argc *= 7; + #t ? 2 : 3; + 1 == 2 and argv != argv and #f; printf("hello world\n"); } -- cgit v1.2.3