mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
skip new behavior tests that do not pass for stage1
This commit is contained in:
parent
3c506c8aaa
commit
1cb8065a52
@ -23,6 +23,8 @@ const ErrStruct = struct {
|
||||
};
|
||||
|
||||
test {
|
||||
if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
|
||||
|
||||
_ = OptEnum{
|
||||
.opt_enum = .{
|
||||
.EnumVariant = 1,
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user