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

#write test.zig {
const E = enum(u8) {
    a,
    b,
    _,
};

export fn f(e: E) void {
    switch (e) {
        .a => {},
        inline _ => {},
    }
}

export fn g(e: E) void {
    switch (e) {
        .a => {},
        else => {},
        inline _ => {},
    }
}
#}
#update
#check errors {
test.zig:10:16: error: cannot inline '_' prong
test.zig:18:16: error: cannot inline '_' prong
#}
