#zig build-obj { --name test -fno-emit-bin -Mroot=test.zig #} #write test.zig { const A = struct { b: B, }; const B = struct { c: C, }; const C = struct { a: A, }; export fn entry() usize { return @sizeOf(A); } #} #update #check errors { error: dependency loop with length 3 test.zig:2:8: note: type 'test.A' depends on type 'test.B' for field declared here test.zig:5:8: note: type 'test.B' depends on type 'test.C' for field declared here test.zig:8:8: note: type 'test.C' depends on type 'test.A' for field declared here note: eliminate any one of these dependencies to break the loop #}