mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
12 lines
168 B
Rust
12 lines
168 B
Rust
|
// use of tail calls causes arg slot leaks, issue #160.
|
||
|
|
||
|
fn inner(str dummy, bool b) {
|
||
|
if (b) {
|
||
|
be inner(dummy, false);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
inner("hi", true);
|
||
|
}
|