Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
vector_index_out_of_bounds.zig
pretty
plain
permalink
blame
history
•
8 lines
•
151 B
1
export fn entry() void {
2
const x = @Vector(3, f32){ 25, 75, 5, 0 };
3
_ = x;
4
}
5
6
// error
7
//
8
// :2:30: error: expected 3 vector elements; found 4