rust/src/test/compile-fail/missing-return.rs

10 lines
67 B
Rust

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