spirv: update failing / passing tests
Some tests are now failing due to debug info changes, some tests now pass due to improved compiler functionality.
This commit is contained in:
@@ -426,8 +426,6 @@ test "mutate entire slice at comptime" {
|
||||
}
|
||||
|
||||
test "dereference undefined pointer to zero-bit type" {
|
||||
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
|
||||
|
||||
const p0: *void = undefined;
|
||||
try testing.expectEqual({}, p0.*);
|
||||
|
||||
@@ -436,8 +434,6 @@ test "dereference undefined pointer to zero-bit type" {
|
||||
}
|
||||
|
||||
test "type pun extern struct" {
|
||||
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
|
||||
|
||||
const S = extern struct { f: u8 };
|
||||
comptime var s = S{ .f = 123 };
|
||||
@as(*u8, @ptrCast(&s)).* = 72;
|
||||
|
||||
Reference in New Issue
Block a user