zig/test/behavior/bugs/2346.zig
2021-06-21 17:03:03 -07:00

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;
}