aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin6
1 files changed, 5 insertions, 1 deletions
diff --git a/code/demo.odin b/code/demo.odin
index ba157a977..af7f453c5 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -14,5 +14,9 @@
#import "utf16.odin";
main :: proc() {
-
+ if x := 0; x < 0 {
+ fmt.println(x);
+ } else {
+ fmt.println(x);
+ }
}