aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-16 09:19:33 +0200
committerlemon <lsof@mailbox.org>2022-08-16 09:19:33 +0200
commit1ca77f60626666fba792db407dd11ea9b597d9cf (patch)
tree0e5ea52e457474899ad5f0076bbe658e67626925 /examples
parent04c7892134d49f3b295a51cc741affe9f02e374d (diff)
binary operators and more stuff
Diffstat (limited to 'examples')
-rw-r--r--examples/hello-world.cff4
1 files changed, 2 insertions, 2 deletions
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");
}