diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,13 @@ #include "std/io.toc", io; +Point3D ::= struct { + x, y, z: f32; +} + main ::= fn() { - for i := 0..10 { 3; }; -}
\ No newline at end of file + p: Point3D; + io.puti(#sizeof(Point3D)); + // io.puti(#sizeof(p)); + io.puti(#sizeof(typeof p)); +} +main();
\ No newline at end of file |