authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-29 22:39:05-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-29 22:58:24-07:00
log1cb8065a52c9bf74f913c46a011ab0118c92f0fa
treebc0b92f3c8cdbcc180df71f249e1cf99278a3ca5
parent3c506c8aaa8cc92f444d2559e9ec1b0892a1985c

skip new behavior tests that do not pass for stage1


2 files changed, 4 insertions(+), 0 deletions(-)

test/behavior/bugs/12486.zig+2
...@@ -23,6 +23,8 @@ const ErrStruct = struct {...@@ -23,6 +23,8 @@ const ErrStruct = struct {
23};23};
2424
25test {25test {
26 if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
27
26 _ = OptEnum{28 _ = OptEnum{
27 .opt_enum = .{29 .opt_enum = .{
28 .EnumVariant = 1,30 .EnumVariant = 1,
test/behavior/generics.zig+2
...@@ -344,6 +344,8 @@ test "generic instantiation of tagged union with only one field" {...@@ -344,6 +344,8 @@ test "generic instantiation of tagged union with only one field" {
344}344}
345345
346test "nested generic function" {346test "nested generic function" {
347 if (builtin.zig_backend == .stage1) return error.SkipZigTest;
348
347 const S = struct {349 const S = struct {
348 fn foo(comptime T: type, callback: *const fn (user_data: T) anyerror!void, data: T) anyerror!void {350 fn foo(comptime T: type, callback: *const fn (user_data: T) anyerror!void, data: T) anyerror!void {
349 try callback(data);351 try callback(data);