| author | |
| committer | |
| log | 1cb8065a52c9bf74f913c46a011ab0118c92f0fa |
| tree | bc0b92f3c8cdbcc180df71f249e1cf99278a3ca5 |
| parent | 3c506c8aaa8cc92f444d2559e9ec1b0892a1985c |
2 files changed, 4 insertions(+), 0 deletions(-)
test/behavior/bugs/12486.zig+2| ... | ... | @@ -23,6 +23,8 @@ const ErrStruct = struct { |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | 25 | test { |
| 26 | if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest; | |
| 27 | ||
| 26 | 28 | _ = OptEnum{ |
| 27 | 29 | .opt_enum = .{ |
| 28 | 30 | .EnumVariant = 1, |
test/behavior/generics.zig+2| ... | ... | @@ -344,6 +344,8 @@ test "generic instantiation of tagged union with only one field" { |
| 344 | 344 | } |
| 345 | 345 | |
| 346 | 346 | test "nested generic function" { |
| 347 | if (builtin.zig_backend == .stage1) return error.SkipZigTest; | |
| 348 | ||
| 347 | 349 | const S = struct { |
| 348 | 350 | fn foo(comptime T: type, callback: *const fn (user_data: T) anyerror!void, data: T) anyerror!void { |
| 349 | 351 | try callback(data); |