compiler

Unnamed Compiled Systems Language Project
git clone http://frotz.net/git/compiler.git
Log | Files | Refs

commit 4373894d5d652611c8deae293cd2ea91584c6236
parent 31169b18f6c1d063a705ff7fe982eef69a160173
Author: Brian Swetland <swetland@frotz.net>
Date:   Fri, 13 Mar 2020 23:53:51 -0700

test: stack-allocated structs

Diffstat:
Mtest/1040-structs.log | 2++
Mtest/1040-structs.src | 4++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/test/1040-structs.log b/test/1040-structs.log @@ -4,4 +4,6 @@ D 0000007b D 000001c8 D 00000080 D 000001cb +D 10203040 +D 50607080 X 00000000 diff --git a/test/1040-structs.src b/test/1040-structs.src @@ -31,5 +31,9 @@ func start() i32 { _hexout_(p0.y); add(&p1, &p0); print(&p1); + var z Point; + z.x = 0x10203040; + z.y = 0x50607080; + print(&z); return 0; }