1export fn entry() void { 2 const U = union(enum) { a: bool, b: bool }; 3 switch (@as(U, undefined)) { 4 .a, .b => {}, 5 } 6} 7 8// error 9// 10// :3:5: error: use of undefined value here causes illegal behavior