diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-30 23:34:32 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-30 23:34:32 +0100 |
| commit | 17ab23f1f06ed11602c883dd5fce406fd10637db (patch) | |
| tree | 821059c168ebb59f853a86f77d471128c1c14138 /code | |
| parent | c6aac264fa8001ff5e55e5ac6f56289ff0a755ee (diff) | |
Const Aggregate Literals for IR; Module path fix
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/code/demo.odin b/code/demo.odin index 9f9658e08..57052d66d 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -2,16 +2,8 @@ #import "utf8.odin" #import "hash.odin" #import "mem.odin" - - +#import "game.odin" main :: proc() { - Vec3 :: struct { - x, y: i16 - z: int - } - z := 123 - v := Vec3{x = 4, y = 5, z = z} - fmt.println(v) } |