structs are working

This commit is contained in:
Andrew Kelley
2015-12-12 22:55:29 -07:00
parent 0f02e29a2b
commit bd77bc749a
5 changed files with 127 additions and 93 deletions

View File

@@ -2,8 +2,6 @@ export executable "structs";
use "std.zig";
// Note: this example is not working because codegen is confused about
// how byvalue structs which are in memory on the stack work
export fn main(argc : isize, argv : *mut *mut u8, env : *mut *mut u8) -> i32 {
let mut foo : Foo;