aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/wrong-ret-type.rs
blob: f00a734cdabfd32a139bb92d357511c914ded48b (plain) (blame)
1
2
3
4
5
6
7
// error-pattern: mismatched types
fn mk_int() -> uint {
  let int i = 3;
  ret i;
}
fn main() {
}