aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-16 00:26:53 +0100
committerGinger Bill <bill@gingerbill.org>2016-10-16 00:26:53 +0100
commitb9719df0ad97eea1ba67525a9ab1d3c89e95ee8c (patch)
tree1ece268be86209f50bc7b8df7b56d71705001e60 /code
parent79af939522da622a85a513747890e5221be1ae4f (diff)
Fix exact value bug when updating expressions
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin
index ec54c491c..3011b745a 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -1,6 +1,13 @@
#import "fmt.odin"
main :: proc() {
+ Thing :: struct {
+ f: f32
+ a: any
+ }
+ t := Thing{1, "Hello"}
+
+ fmt.printf("Here % %\n", 123, 2.0)
}