diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-12-30 15:45:10 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-12-30 15:45:10 +0000 |
| commit | 23d32f34e526cfb657a72e5b2dab86d1df765f0f (patch) | |
| tree | 7998bcf40ca9f581be6296bf4f68c102a5d234c8 /code | |
| parent | d714bece47ea058e482389452cd428dad9c28fd0 (diff) | |
Block Expressions and `give`
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/code/demo.odin b/code/demo.odin index 897a5a878..bf484ba2a 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -12,8 +12,8 @@ import { } proc main() { - var x = ~(0 as u32); - var y = x << 32; - fmt.println(y); + var a, b, c = { + give 1, 2, 123*321; + }; + fmt.println(a, b, c); } - |