Commit 1cb8065a52
Changed files (2)
test
behavior
test/behavior/bugs/12486.zig
@@ -23,6 +23,8 @@ const ErrStruct = struct {
};
test {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
_ = OptEnum{
.opt_enum = .{
.EnumVariant = 1,
test/behavior/generics.zig
@@ -344,6 +344,8 @@ test "generic instantiation of tagged union with only one field" {
}
test "nested generic function" {
+ if (builtin.zig_backend == .stage1) return error.SkipZigTest;
+
const S = struct {
fn foo(comptime T: type, callback: *const fn (user_data: T) anyerror!void, data: T) anyerror!void {
try callback(data);