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

#write test.zig {
comptime {
    const E = @Enum(u1, .exhaustive, &.{ "f0", "f1", "f2" }, &.{ 0, 1, 2 });
    _ = E;
}
#}
#update
#check errors {
test.zig:2:72: error: type 'u1' cannot represent integer value '2'
#}
