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

#write test.zig {
const Small = enum(f32) {
    One,
    Two,
    Three,
};

export fn entry() void {
    const x = Small.One;
    _ = x;
}
#}
#update
#check errors {
test.zig:1:20: error: expected integer tag type, found 'f32'
#}
