#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
const S = packed struct(u16) {
    a: bool,
    b: bool,
    _padding: @Int(.unsigned, 17 - @typeInfo(S).Struct.fields.len) = 0,
};

comptime {
    _ = @as(S, .{ .a = true, .b = true });
}
#}
#update
#check errors {
test.zig:4:36: error: type 'test.S' depends on itself for type information query here
#}
