Files
zig/test/behavior/bugs/2346.zig
T

9 lines
154 B
Zig

test "fixed" {
const a: *void = undefined;
const b: *[1]void = a;
_ = b;
const c: *[0]u8 = undefined;
const d: []u8 = c;
_ = d;
}