1 2 3 4 5 6 7
// error-pattern:can not return a reference to the wrong parameter fn f(a: int, b: int) -> &2 int { ret a; } fn main() {}