// error-pattern: return fn f() -> int { } fn main() { f(); }