aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-12-05 00:22:30 +0000
committerGinger Bill <bill@gingerbill.org>2016-12-05 00:22:30 +0000
commit88aa74bbb9043f4ffe843beacb0984c06a1dfff3 (patch)
treec823d029d6a6d0c5fcf755b194bc7b3a0d9ca678 /code
parent8ec9811d7a552e96600286a58b5b5303b79f88ed (diff)
Remove multiple messages for cyclic type errors.
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 4198c1468..0e5c215ad 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -1,4 +1,3 @@
-// #import "game.odin";
#import "fmt.odin";
A :: type struct {
@@ -11,8 +10,9 @@ C :: type struct {
a: A;
};
-
main :: proc() {
- fmt.println(123);
+ fmt.println(size_of(A));
+ fmt.println(size_of(B));
+ fmt.println(size_of(C));
}