diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-10-15 22:30:58 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-10-15 22:30:58 +0100 |
| commit | 79af939522da622a85a513747890e5221be1ae4f (patch) | |
| tree | 306c07ce761b8de77d4878795a2d629cad7c733d /code | |
| parent | f3209584a3ae22afc84f2bde6899e248bc86a154 (diff) | |
Update ImplicitValue "architecture"
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/code/demo.odin b/code/demo.odin index 9a4d522cc..ec54c491c 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,15 +1,6 @@ #import "fmt.odin" main :: proc() { - Vec3 :: struct { - x, y: i16 - z: ?i32 - } - a := [..]int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} - offset: u8 = 2 - ptr := ^a[4] - - fmt.println((ptr+offset) - ptr) } |