zig/test/cases/compile_errors/nested_vectors.zig
Ali Cheraghi dec1163fbb
all: replace all @Type usages
Co-authored-by: Matthew Lugg <mlugg@mlugg.co.uk>
2025-11-22 22:42:38 +00:00

11 lines
253 B
Zig

export fn entry() void {
const V1 = @Vector(4, u8);
const V2 = @Vector(4, V1);
const v: V2 = undefined;
_ = v;
}
// error
//
// :3:27: error: expected integer, float, bool, or pointer for the vector element type; found '@Vector(4, u8)'