//ww:run-exit 7 package main; type sflag = enum i32 { A = 1i32 }; fn main() i32 = { let x: i64 = 7i64; let y: sflag = x: sflag; return (y: i32); };