stage2 AArch64: more support for MCValue.got_load and direct_load

This commit is contained in:
joachimschmidt557
2022-02-23 21:32:25 +01:00
parent 4683f94463
commit f91fe9afb9
9 changed files with 73 additions and 41 deletions

View File

@@ -66,7 +66,6 @@ const SmallStruct = struct {
};
test "lower unnamed constants" {
if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest;
var foo = SmallStruct{ .a = 1, .b = 255 };
try expect(foo.first() == 1);
try expect(foo.second() == 255);