summaryrefslogtreecommitdiffstats
path: root/tests/ui/wrong-ret-type.rs
blob: cbff8dbae21d18b131c23f1353614d6d93156db6 (plain)
1
2
3
// error-pattern: mismatched types
fn mk_int() -> usize { let i: isize = 3; return i; }
fn main() { }