Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
dereference_unknown_length_pointer.zig
pretty
plain
permalink
blame
history
•
7 lines
•
144 B
1
export fn entry(x: [*]i32) i32 {
2
return x.*;
3
}
4
5
// error
6
//
7
// :2:13: error: index syntax required for unknown-length pointer type '[*]i32'