cbe: add forward declarations for optionals and error unions

Arrays will have to wait for type rewrite.
This commit is contained in:
Jacob Young
2022-12-03 21:48:19 -05:00
parent 6d1292552e
commit e3b8658e65
3 changed files with 120 additions and 63 deletions

View File

@@ -184,7 +184,6 @@ test "nested orelse" {
}
test "self-referential struct through a slice of optional" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
const S = struct {