Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
invalid_array_elem_ty.zig
pretty
plain
permalink
blame
history
•
10 lines
•
158 B
1
pub fn S() type {
2
return struct {};
3
}
4
pub export fn entry() void {
5
_ = [0]S;
6
}
7
8
// error
9
//
10
// :5:12: error: expected type 'type', found 'fn () type'