| ... | ... | @@ -36,13 +36,12 @@ fn parseFree(comptime T: type, value: T, allocator: std.mem.Allocator) void { |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | pub export fn entry() void { |
| 39 | | const allocator = std.testing.allocator_instance.allocator(); |
| 39 | const allocator = std.testing.failing_allocator; |
| 40 | 40 | _ = parse(std.StringArrayHashMap(bool), allocator) catch return; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | // error |
| 44 | 44 | // backend=llvm |
| 45 | | // target=x86_64-linux,aarch64-linux,arm-linux,x86_64-macos,aarch64-macos |
| 46 | 45 | // |
| 47 | 46 | // :11:22: error: comparison of 'void' with null |
| 48 | 47 | // :25:51: error: unable to resolve comptime value |