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

#write test.zig {
const S = struct {
    const foo = 2;
    const bar = 2;
    const baz = 2;
    a: struct {
        a: u32,
        b: u32,
    },
    const foo1 = 2;
    const bar1 = 2;
    const baz1 = 2;
    b: usize,
};
comptime {
    _ = S;
}
#}
#update
#check errors {
test.zig:9:5: error: declarations are not allowed between container fields
test.zig:5:5: note: field before declarations here
test.zig:12:5: note: field after declarations here
#}
