aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-25 19:19:25 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-25 19:19:25 +0000
commitb59a052e32b1ed84134e31baad86c8e401f796c6 (patch)
tree9aef601f0d9a25e43fe046f274508bf774dad9a2 /code
parent12498b2d390c95fd49672f8ee1c64b7b254c293c (diff)
Change casting syntax: `cast(T)x` `transmute(T)x` et al.
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin6
1 files changed, 0 insertions, 6 deletions
diff --git a/code/demo.odin b/code/demo.odin
index a4081e139..6d57f5440 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -9,14 +9,8 @@
#import "sync.odin";
#import "utf8.odin";
-T :: struct { x, y: int };
-thread_local t: T;
main :: proc() {
- immutable using t := T{123, 321};
- fmt.println(t);
-
-
// foo :: proc(x: ^i32) -> (int, int) {
// fmt.println("^int");
// return 123, int(x^);