E = enum { a, b, c, } [export] main = fn [cc(c)] () s32 { >some_enum: E = .b; switch (some_enum) { .a => { return 1; }, else => { }, } return 0; }