rust/tests/ui/missing/missing-return.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
67 B
Rust
Raw Normal View History

//@ error-pattern: return
fn f() -> isize { }
2011-07-27 20:19:39 +08:00
fn main() { f(); }