]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wrong-ret-type.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / wrong-ret-type.rs
1 // error-pattern: mismatched types
2 fn mk_int() -> usize { let i: isize = 3; return i; }
3 fn main() { }