11 lines
121 B
Rust
11 lines
121 B
Rust
// error-pattern: Non-call expression in tail call
|
|
|
|
fn f() -> int {
|
|
let x = 1;
|
|
be x;
|
|
}
|
|
|
|
fn main() {
|
|
let y = f();
|
|
}
|