about summary refs log tree commit diff
path: root/tests/ui/typeck/wrong-ret-type.rs
blob: 2d6751a823cfd71e87939c503876f32c6614f7b9 (plain)
1
2
fn mk_int() -> usize { let i: isize = 3; return i; } //~ ERROR mismatched types
fn main() { }