diff options
Diffstat (limited to 'bootstrap/test.cff')
| -rw-r--r-- | bootstrap/test.cff | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff index a000224..2a7a138 100644 --- a/bootstrap/test.cff +++ b/bootstrap/test.cff @@ -83,6 +83,9 @@ extern fn main (argc int, argv **u8) int { printf("sl %d\n", slice[0]); slice.#len; + let const v Vec2f = {}; + ! v.x += 1; + printf("sizeof(is) = %zu\n", sizeof(is)); printf("sizeof *void = %zu\n", sizeof *void); printf("1.2 -> %#.8x\n", transmute(u32, 1.2f)); |