Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
direct_struct_loop.zig
pretty
plain
permalink
blame
history
•
10 lines
•
167 B
1
const A = struct {
2
a: A,
3
};
4
export fn entry() usize {
5
return @sizeOf(A);
6
}
7
8
// error
9
//
10
// :2:8: error: type 'tmp.A' depends on itself for field declared here