spirv: properly skip comptime function parameters

This commit is contained in:
Robin Voetter
2023-10-07 19:43:27 +02:00
parent 89b1dafa78
commit 4a6a024a4b
2 changed files with 14 additions and 13 deletions

View File

@@ -887,8 +887,6 @@ test "anonymous struct literal syntax" {
}
test "fully anonymous struct" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
fn doTheTest() !void {
try dump(.{
@@ -911,8 +909,6 @@ test "fully anonymous struct" {
}
test "fully anonymous list literal" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
fn doTheTest() !void {
try dump(.{ @as(u32, 1234), @as(f64, 12.34), true, "hi" });
@@ -1715,8 +1711,6 @@ test "extern struct field pointer has correct alignment" {
}
test "packed struct field in anonymous struct" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const T = packed struct {
f1: bool = false,
};