/src/test/compile-fail/output-type-mismatch.rs
http://github.com/jruderman/rust · Rust · 5 lines · 2 code · 2 blank · 1 comment · 0 complexity · fac3ab59f0677fa4c4c6147e3ff2a5d1 MD5 · raw file
- // error-pattern: mismatched types
- fn f() { }
- fn main() { let i: int; i = f(); }