From 17ab23f1f06ed11602c883dd5fce406fd10637db Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Fri, 30 Sep 2016 23:34:32 +0100 Subject: Const Aggregate Literals for IR; Module path fix --- code/demo.odin | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'code') 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) } -- cgit v1.2.3