aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorZachary Pierson <zacpiersonhehe@gmail.com>2017-04-04 18:46:05 -0500
committerZachary Pierson <zacpiersonhehe@gmail.com>2017-04-04 18:46:05 -0500
commite41d6261c2b798a01990eb325245652f85ef9c6d (patch)
tree8a34d34596d69f29a8acdcd3960a28a5b50d8997 /code
parentf952c7c74784785faa65b6ce2c9e354e281f6f74 (diff)
parent3e80411d374d3dd7fc90e22d4f900144cfb6ef3a (diff)
Merge https://github.com/gingerBill/Odin
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);
+ }
}