riscv: finally fix bug + airAggregateInit
i just hadn't realized that I placed the `riscv_start` branch in the non-simplified starts
This commit is contained in:
@@ -640,6 +640,8 @@ test "cast pointers with zero sized elements" {
|
||||
}
|
||||
|
||||
test "comptime pointer equality through distinct fields with well-defined layout" {
|
||||
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
|
||||
|
||||
const A = extern struct {
|
||||
x: u32,
|
||||
z: u16,
|
||||
@@ -664,6 +666,8 @@ test "comptime pointer equality through distinct fields with well-defined layout
|
||||
}
|
||||
|
||||
test "comptime pointer equality through distinct elements with well-defined layout" {
|
||||
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
|
||||
|
||||
const buf: [2]u32 = .{ 123, 456 };
|
||||
|
||||
const ptr: *const [2]u32 = &buf;
|
||||
|
||||
Reference in New Issue
Block a user