mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
Const Aggregate Literals for IR; Module path fix
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user