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

#write test.zig {
const E = enum {
    *u32,
};
const U = union {
    *u32,
};
const S = struct {
    a: u32,
    *u32,
};
const T = struct {
    u32,
    []const u8,

    const a = 1;
};
#}
#update
#check errors {
test.zig:2:5: error: enum field missing name
test.zig:5:5: error: union field missing name
test.zig:8:5: error: tuple field has a name
test.zig:15:5: error: tuple declarations cannot contain declarations
test.zig:12:5: note: tuple field here
#}
