// ERROR:13:type unit baddef; error E { Bad = 1, } fn leaf() -> E!i32 { return E.Bad; } fn bad() -> i32 { return leaf() catch false; }